Improve organization of colorscheme definitions + add/configure vim-bookmarks

This commit is contained in:
Kevin MacMartin 2014-10-28 15:33:37 -04:00
parent cdf56f34a0
commit f170b77156
6 changed files with 265 additions and 255 deletions

3
.gitmodules vendored
View file

@ -112,3 +112,6 @@
[submodule "vim/bundle/rename.vim"] [submodule "vim/bundle/rename.vim"]
path = vim/bundle/rename.vim path = vim/bundle/rename.vim
url = https://github.com/danro/rename.vim.git url = https://github.com/danro/rename.vim.git
[submodule "vim/bundle/vim-bookmarks"]
path = vim/bundle/vim-bookmarks
url = https://github.com/MattesGroeger/vim-bookmarks.git

View file

@ -182,8 +182,9 @@ For a complete list of mappings specific to **darkcloud-vimconfig**, check the l
* [tcommand_vim](https://github.com/tomtom/tcommand_vim): Select commands, menu items etc. from a list. * [tcommand_vim](https://github.com/tomtom/tcommand_vim): Select commands, menu items etc. from a list.
* [tlib_vim](https://github.com/tomtom/tlib_vim): Some utility functions for VIM. * [tlib_vim](https://github.com/tomtom/tlib_vim): Some utility functions for VIM.
* [tcomment_vim](https://github.com/tomtom/tcomment_vim): File-type sensible comments that can be easily toggled on and off for blocks of text. * [tcomment_vim](https://github.com/tomtom/tcomment_vim): File-type sensible comments that can be easily toggled on and off for blocks of text.
* [vim-bookmarks](https://github.com/MattesGroeger/vim-bookmarks): Bookmark or annotate lines and quickly navigate between them.
* [vim-easytags](https://github.com/xolox/vim-easytags): Automated tag file generation and syntax highlighting of tags in Vim. * [vim-easytags](https://github.com/xolox/vim-easytags): Automated tag file generation and syntax highlighting of tags in Vim.
* [vim-misc](https://github.com/xolox/vim-misc): Miscellaneous auto-load Vim scripts. * [vim-misc](https://github.com/xolox/vim-misc): Miscellaneous auto-load Vim scripts required by vim-easytags.
* [vim-extradite](https://github.com/int3/vim-extradite): A git commit browser extending vim-fugitive that displays differences and optionally loads old revisions. * [vim-extradite](https://github.com/int3/vim-extradite): A git commit browser extending vim-fugitive that displays differences and optionally loads old revisions.
* [vimfiler.vim](https://github.com/Shougo/vimfiler.vim): A curses-style file manager for vim that runs on it's own or in a sidebar and can associate handlers for file types. * [vimfiler.vim](https://github.com/Shougo/vimfiler.vim): A curses-style file manager for vim that runs on it's own or in a sidebar and can associate handlers for file types.
* [unite.vim](https://github.com/Shougo/unite.vim): A library used by Vim Filer to help build its user interface. * [unite.vim](https://github.com/Shougo/unite.vim): A library used by Vim Filer to help build its user interface.

@ -0,0 +1 @@
Subproject commit 93904787c61805334895662feb6672a9164820be

View file

@ -283,269 +283,272 @@ hi SpellLocal guisp=NONE gui=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NON
"format: ('name','fg ','bg ','style ',s:lowcolor-fg,'lowcolor-bg') "format: ('name','fg ','bg ','style ',s:lowcolor-fg,'lowcolor-bg')
"example:('Line','000000','f0f0f0','italic,bold',s:termBlack ,'White') "example:('Line','000000','f0f0f0','italic,bold',s:termBlack ,'White')
"core style "CORE: {{{
call s:X("Normal","#eaeaea","#262626","","White",s:termBlack) call s:X("Normal","#eaeaea","#262626","","White",s:termBlack)
hi Normal ctermfg=254 ctermbg=235 hi Normal ctermfg=254 ctermbg=235
hi! link Conceal Normal hi! link Conceal Normal
call s:X("Cursor","","#262626","standout,underline,bold",s:termBlack,"White") call s:X("Cursor","","#262626","standout,underline,bold",s:termBlack,"White")
call s:X("CursorColumn","","#303030","","",s:termBlack) call s:X("CursorColumn","","#303030","","",s:termBlack)
hi CursorColumn ctermbg=236 hi CursorColumn ctermbg=236
call s:X("CursorLine","","#303030","","",s:termBlack) call s:X("CursorLine","","#303030","","",s:termBlack)
hi CursorLine ctermbg=236 hi CursorLine ctermbg=236
call s:X("CursorLineNr","#87d7ff","#303030","bold","Blue",s:termBlack) call s:X("CursorLineNr","#87d7ff","#303030","bold","Blue",s:termBlack)
hi CursorLineNr ctermbg=236 hi CursorLineNr ctermbg=236
call s:X("LineNr","#4e4e4e","","bold","White",s:termBlack) call s:X("LineNr","#4e4e4e","","bold","White",s:termBlack)
hi LineNr ctermfg=239 hi LineNr ctermfg=239
call s:X("Visual","","#262626","standout","",s:termBlack) call s:X("Visual","","#262626","standout","",s:termBlack)
call s:X("MatchParen","","#303030","bold,underline","","") call s:X("MatchParen","","#303030","bold,underline","","")
"whitespace "whitespace
call s:X("TabLine","","#000000","","",s:termBlack) call s:X("TabLine","","#000000","","",s:termBlack)
call s:X("TabLineFill","","#000000","","",s:termBlack) call s:X("TabLineFill","","#000000","","",s:termBlack)
call s:X("TabLineSel","#000000","#d0d0d0","",s:termBlack,"White") call s:X("TabLineSel","#000000","#d0d0d0","",s:termBlack,"White")
call s:X("ExtraWhiteSpace","FF0000","#262626","","Red",s:termBlack) call s:X("ExtraWhiteSpace","FF0000","#262626","","Red",s:termBlack)
"menu call "menu call
call s:X("Pmenu","#87d7ff","#303030","","Grey","Blue") call s:X("Pmenu","#87d7ff","#303030","","Grey","Blue")
call s:X("PmenuSel","#87d7ff","#4e4e4e","bold","White","Black") call s:X("PmenuSel","#87d7ff","#4e4e4e","bold","White","Black")
"search "search
call s:X("Search","","#262626","standout","",s:termBlack) call s:X("Search","","#262626","standout","",s:termBlack)
hi! link IncSearchMatch Search hi! link IncSearchMatch Search
hi! link IncSearchMatchReverse Search hi! link IncSearchMatchReverse Search
call s:X("IncSearch","","#262626","standout,bold,underline","",s:termBlack) call s:X("IncSearch","","#262626","standout,bold,underline","",s:termBlack)
hi! link IncSearchOnCursor IncSearch hi! link IncSearchOnCursor IncSearch
hi! link IncSearchCursor IncSearchOnCursor hi! link IncSearchCursor IncSearchOnCursor
"status line "status line
call s:X("StatusLine","#000000","#d75f5f","bold",s:termBlack,"Red") call s:X("StatusLine","#000000","#d75f5f","bold",s:termBlack,"Red")
call s:X("StatusLineNC","#ffffff","#626262","","White","Grey") call s:X("StatusLineNC","#ffffff","#626262","","White","Grey")
call s:X("VertSplit","#626262","#626262","",s:termBlack,s:termBlack) call s:X("VertSplit","#626262","#626262","",s:termBlack,s:termBlack)
call s:X("WildMenu","#808080","#303030","","White",s:termBlack) call s:X("WildMenu","#808080","#303030","","White",s:termBlack)
"folding "folding
call s:X("Folded","#87d7ff","#4e4e4e","bold","Blue",s:termBlack) call s:X("Folded","#87d7ff","#4e4e4e","bold","Blue",s:termBlack)
call s:X("FoldColumn","#eaeaea","","bold","White","") call s:X("FoldColumn","#eaeaea","","bold","White","")
call s:X("SignColumn","#d75f5f","","bold","Red","") call s:X("SignColumn","#d75f5f","","bold","Red","")
hi! link ColorColumn SignColumn hi! link ColorColumn SignColumn
"syntax style "syntax style
call s:X("Title","#d75f5f","","bold","Red","") call s:X("Title","#d75f5f","","bold","Red","")
call s:X("Comment","#6c6c6c","","italic","Grey","") call s:X("Comment","#6c6c6c","","italic","Grey","")
call s:X("Constant","#87d7ff","","bold","Blue","") call s:X("Constant","#87d7ff","","bold","Blue","")
call s:X("Special","#ffd787","","bold","Yellow","") call s:X("Special","#ffd787","","bold","Yellow","")
call s:X("Delimiter","#ffffff","","","White","") call s:X("Delimiter","#ffffff","","","White","")
call s:X("String","#ffffff","","bold","White","") call s:X("String","#ffffff","","bold","White","")
call s:X("StringDelimiter","#d0d0d0","","","White","") call s:X("StringDelimiter","#d0d0d0","","","White","")
call s:X("Identifier","#87d7ff","","bold","Blue","") call s:X("Identifier","#87d7ff","","bold","Blue","")
call s:X("Type","#d75f5f","","bold","Red","") call s:X("Type","#d75f5f","","bold","Red","")
call s:X("Function","#87d7ff","","","Blue","") call s:X("Function","#87d7ff","","","Blue","")
call s:X("Label","#d75f5f","","","Red","") call s:X("Label","#d75f5f","","","Red","")
call s:X("Statement","#ffd787","","","Yellow","") call s:X("Statement","#ffd787","","","Yellow","")
call s:X("PreProc","#ffd787","","","Yellow","") call s:X("PreProc","#ffd787","","","Yellow","")
call s:X("Keyword","#ffd787","","bold","Yellow","") call s:X("Keyword","#ffd787","","bold","Yellow","")
call s:X("Operator","#d75f5f","","","Red","") call s:X("Operator","#d75f5f","","","Red","")
call s:X("NonText","#87d7ff","","","Blue","") call s:X("NonText","#87d7ff","","","Blue","")
call s:X("SpecialKey","#626262","","",s:termBlack,"") call s:X("SpecialKey","#626262","","",s:termBlack,"")
call s:X("Directory","#87d7ff","","","Blue","") call s:X("Directory","#87d7ff","","","Blue","")
call s:X("Question","#87d7ff","","","Blue","") call s:X("Question","#87d7ff","","","Blue","")
call s:X("Todo","#d75f5f","","bold","Red","") call s:X("Todo","#d75f5f","","bold","Red","")
"errors "errors
call s:X("Error","#d75f5f","#000000","standout","Red",s:termBlack) call s:X("Error","#d75f5f","#000000","standout","Red",s:termBlack)
hi! link WarningMsg Error hi! link WarningMsg Error
hi! link ErrorMsg Error hi! link ErrorMsg Error
hi! link MoreMsg Special hi! link MoreMsg Special
hi! link Structure PreProc hi! link Structure PreProc
hi! link Number Type hi! link Number Type
"vimdiff "vimdiff
call s:X("DiffAdd","#ffd787","","standout","Yellow","") call s:X("DiffAdd","#ffd787","","standout","Yellow","")
call s:X("DiffDelete","#d75f5f","","standout","Red","") call s:X("DiffDelete","#d75f5f","","standout","Red","")
call s:X("DiffChange","#87d7ff","","standout","Blue","") call s:X("DiffChange","#87d7ff","","standout","Blue","")
call s:X("DiffText","#c6c6c6","","standout","White","") call s:X("DiffText","#c6c6c6","","standout","White","")
"}}}
"version control "SYNTAX: {{{
call s:X("SignifySignAdd","#ffd787","","bold","","Yellow") "html
call s:X("SignifySignDelete","#d75f5f","","bold","","Red") hi! link htmlTitle Title
call s:X("SignifySignChange","#ffd787","","bold","","Yellow") call s:X("htmlH1","#d75f5f","","bold","Red","")
hi! link SignifyLineAdd DiffAdd call s:X("htmlH2","#87d7ff","","bold","Blue","")
hi! link SignifyLineDelete DiffDelete call s:X("htmlH3","#ffd787","","bold","Yellow","")
hi! link SignifyLineChange DiffChange call s:X("htmlH4","#d75f5f","","italic","Red","")
hi! link gitconfigAssignment Label call s:X("htmlH5","#87d7ff","","italic","Blue","")
hi! link ExtraditeLogName Type call s:X("htmlH6","#ffd787","","italic","Yellow","")
call s:X("htmlSpecialChar","","","italic","","")
call s:X("htmlArg","#d75f5f","","bold","Red","")
call s:X("htmlTagName","#ffd787","","bold","Yellow","")
call s:X("htmlTag","#87d7ff","","bold","Blue","")
call s:X("htmlLink","#d75f5f","","underline","Red","")
call s:X("htmlBold","#ffffff","","bold","White","")
"html "markdown
hi! link htmlTitle Title call s:X("mkdURL","#6c6c6c","","","Grey","")
call s:X("htmlH1","#d75f5f","","bold","Red","") call s:X("mkdCode","#ffd787","#444444","","Yellow","Grey")
call s:X("htmlH2","#87d7ff","","bold","Blue","") hi! link mkdIndentCode mkdCode
call s:X("htmlH3","#ffd787","","bold","Yellow","")
call s:X("htmlH4","#d75f5f","","italic","Red","")
call s:X("htmlH5","#87d7ff","","italic","Blue","")
call s:X("htmlH6","#ffd787","","italic","Yellow","")
call s:X("htmlSpecialChar","","","italic","","")
call s:X("htmlArg","#d75f5f","","bold","Red","")
call s:X("htmlTagName","#ffd787","","bold","Yellow","")
call s:X("htmlTag","#87d7ff","","bold","Blue","")
call s:X("htmlLink","#d75f5f","","underline","Red","")
call s:X("htmlBold","#ffffff","","bold","White","")
"markdown "php
call s:X("mkdURL","#6c6c6c","","","Grey","") hi! link phpFunctions Function
call s:X("mkdCode","#ffd787","#444444","","Yellow","Grey") hi! link phpSuperglobal Identifier
hi! link mkdIndentCode mkdCode hi! link phpQuoteSingle StringDelimiter
hi! link phpQuoteDouble StringDelimiter
hi! link phpBoolean Constant
hi! link phpNull Constant
hi! link phpArrayPair Operator
hi! link StorageClass Type
"php "javaScript
hi! link phpFunctions Function hi! link javaScriptParens Delimiter
hi! link phpSuperglobal Identifier hi! link javaScriptBraces Delimiter
hi! link phpQuoteSingle StringDelimiter hi! link javaScriptValue Constant
hi! link phpQuoteDouble StringDelimiter hi! link javascriptHtmlEvents javaScriptSpecial
hi! link phpBoolean Constant hi! link javascriptDomElemAttrs javaScriptSpecial
hi! link phpNull Constant hi! link javascriptDomElemFuncs javaScriptFunction
hi! link phpArrayPair Operator
hi! link StorageClass Type
"javaScript "json
hi! link javaScriptParens Delimiter autocmd BufEnter,FileType json hi! link Label Constant
hi! link javaScriptBraces Delimiter autocmd BufEnter,FileType json hi! link Number Todo
hi! link javaScriptValue Constant autocmd BufEnter,FileType json hi! link String Statement
hi! link javascriptHtmlEvents javaScriptSpecial
hi! link javascriptDomElemAttrs javaScriptSpecial
hi! link javascriptDomElemFuncs javaScriptFunction
autocmd BufEnter,FileType json hi! link Label Constant "coffeeScript
autocmd BufEnter,FileType json hi! link Number Todo hi! link coffeeRegExp javaScriptRegexpString
autocmd BufEnter,FileType json hi! link String Statement
"coffeeScript "c
hi! link coffeeRegExp javaScriptRegexpString call s:X("cBraces","#ffd787","","","Yellow","")
hi! link cBlock cBraces
hi! link cOperator cBraces
hi! link cCharacter String
hi! link cBlock String
hi! link cNumbersCom Number
"c "dosini
call s:X("cBraces","#ffd787","","","Yellow","") hi! link dosiniLabel Function
hi! link cBlock cBraces
hi! link cOperator cBraces
hi! link cCharacter String
hi! link cBlock String
hi! link cNumbersCom Number
"dosini "objective-c/cocoa
hi! link dosiniLabel Function hi! link objcClass Type
hi! link cocoaClass objcClass
hi! link objcSubclass objcClass
hi! link objcSuperclass objcClass
hi! link objcDirective Type
hi! link objcStatement Constant
hi! link cocoaFunction Function
hi! link objcMethodName Identifier
hi! link objcMethodArg Normal
hi! link objcMessageName Identifier
"objective-c/cocoa "ruby
hi! link objcClass Type hi! link rubySharpBang Comment
hi! link cocoaClass objcClass hi! link rubyConstant Type
hi! link objcSubclass objcClass hi! link rubyFunction Function
hi! link objcSuperclass objcClass hi! link rubyGlobalVariable rubyInstanceVariable
hi! link objcDirective Type hi! link rubyModule rubyClass
hi! link objcStatement Constant hi! link rubyString String
hi! link cocoaFunction Function hi! link rubyStringDelimiter StringDelimiter
hi! link objcMethodName Identifier hi! link rubyInterpolationDelimiter Identifier
hi! link objcMethodArg Normal hi! link rubyClass Type
hi! link objcMessageName Identifier hi! link rubyIdentifier Identifier
hi! link rubyPredefinedIdentifier PreProc
call s:X("rubyGlobalVariable","","","bold","","")
"ruby "lua
hi! link rubySharpBang Comment hi! link luaOperator Conditional
hi! link rubyConstant Type
hi! link rubyFunction Function
hi! link rubyGlobalVariable rubyInstanceVariable
hi! link rubyModule rubyClass
hi! link rubyString String
hi! link rubyStringDelimiter StringDelimiter
hi! link rubyInterpolationDelimiter Identifier
hi! link rubyClass Type
hi! link rubyIdentifier Identifier
hi! link rubyPredefinedIdentifier PreProc
call s:X("rubyGlobalVariable","","","bold","","")
"lua "systemd unit files
hi! link luaOperator Conditional hi! link sdKey Identifier
hi! link sdFilename String
hi! link sdFileList sdFilename
hi! link sdExecFile sdFilename
hi! link sdExecArgs sdExecFile
hi! link sdDocURI sdFilename
hi! link sdValue PreProc
hi! link sdServiceBlock sdValue
hi! link sdSocketBlock Operator
hi! link sdUnitBlock Comment
hi! link sdBindIPv6 sdValue
hi! link sdIPTOS Label
hi! link sdTCPCongest Label
hi! link sdIOSchedClass sdValue
hi! link sdIOSchedPrio sdValue
hi! link sdCPUSchedPol sdValue
hi! link sdBool sdValue
hi! link sdDatasize sdValue
hi! link sdSymbol sdValue
hi! link sdOtherSignal sdValue
hi! link sdDevAllow Keyword
hi! link sdCapability sdDevAllow
"}}}
"vim config/vimscript "MISC: {{{
call s:X("IndentGuidesOdd","","#7c7c7c","","","Grey") "bookmarks
call s:X("IndentGuidesEven","","#1c1c1c","","",s:termBlack) call s:X("BookmarkSign","#87d7ff","","bold","Blue","")
if !exists("g:indent_guides_auto_colors")
let g:indent_guides_auto_colors=0
endif
call s:X("vimOperParen","#87d7ff","","","Blue","")
"systemd unit files "email
hi! link sdKey Identifier hi! link mailHeaderKey Identifier
hi! link sdFilename String
hi! link sdFileList sdFilename
hi! link sdExecFile sdFilename
hi! link sdExecArgs sdExecFile
hi! link sdDocURI sdFilename
hi! link sdValue PreProc
hi! link sdServiceBlock sdValue
hi! link sdSocketBlock Operator
hi! link sdUnitBlock Comment
hi! link sdBindIPv6 sdValue
hi! link sdIPTOS Label
hi! link sdTCPCongest Label
hi! link sdIOSchedClass sdValue
hi! link sdIOSchedPrio sdValue
hi! link sdCPUSchedPol sdValue
hi! link sdBool sdValue
hi! link sdDatasize sdValue
hi! link sdSymbol sdValue
hi! link sdOtherSignal sdValue
hi! link sdDevAllow Keyword
hi! link sdCapability sdDevAllow
"notes "git
call s:X("notesRule","","","bold","","") hi! link gitconfigAssignment Label
call s:X("WarningMsg","#ffd787","#2c2c2c","standout,bold","Yellow",s:termBlack) hi! link ExtraditeLogName Type
call s:X("notesTitle","#d75f5f","","underline,bold","Red","")
call s:X("notesName","#ffd787","","underline,bold","Yellow","")
call s:X("notesShortHeading","#ffd787","#262626","standout,underline,bold","Yellow","")
call s:X("Underlined","#87d7ff","","underline,bold","Blue","")
call s:X("notesInProgress","#87d7ff","#262626","standout,underline,bold","Blue","")
call s:X("notesRealURL","#d75f5f","","underline,bold","Red","")
hi! link notesTextURL notesRealURL
hi! link notesSubtleURL notesRealURL
hi! link notesListBullet FoldColumn
hi! link notesListNumber notesListBullet
hi! link notesVimCmd Function
hi! link notesSingleQuoted String
hi! link notesBlockQuote Pmenu
hi! link notesModeLine Comment
hi! link notesCodeStart Delimiter
hi! link notesCodeEnd notesCodeStart
hi! link notesLastEdited Statement
hi! link notesAtxHeading Comment
"email "notes
hi! link mailHeaderKey Identifier call s:X("notesRule","","","bold","","")
call s:X("WarningMsg","#ffd787","#2c2c2c","standout,bold","Yellow",s:termBlack)
call s:X("notesTitle","#d75f5f","","underline,bold","Red","")
call s:X("notesName","#ffd787","","underline,bold","Yellow","")
call s:X("notesShortHeading","#ffd787","#262626","standout,underline,bold","Yellow","")
call s:X("Underlined","#87d7ff","","underline,bold","Blue","")
call s:X("notesInProgress","#87d7ff","#262626","standout,underline,bold","Blue","")
call s:X("notesRealURL","#d75f5f","","underline,bold","Red","")
hi! link notesTextURL notesRealURL
hi! link notesSubtleURL notesRealURL
hi! link notesListBullet FoldColumn
hi! link notesListNumber notesListBullet
hi! link notesVimCmd Function
hi! link notesSingleQuoted String
hi! link notesBlockQuote Pmenu
hi! link notesModeLine Comment
hi! link notesCodeStart Delimiter
hi! link notesCodeEnd notesCodeStart
hi! link notesLastEdited Statement
hi! link notesAtxHeading Comment
"quicktask "quicktask
hi! link quicktaskDatestamp Identifier hi! link quicktaskDatestamp Identifier
hi! link quicktaskTimestamp Identifier hi! link quicktaskTimestamp Identifier
hi! link quicktaskSection Todo hi! link quicktaskSection Todo
call s:X("quicktaskTimeNote","#ffd787","","bold","Yellow","") call s:X("quicktaskTimeNote","#ffd787","","bold","Yellow","")
call s:X("quicktaskTask","#ffffff","","bold","White","") call s:X("quicktaskTask","#ffffff","","bold","White","")
"taskwarrior "signify
call s:X("taskwarrior_tablehead","#d0d0d0","","standout,bold",s:termBlack,"White") call s:X("SignifySignAdd","#ffd787","","bold","","Yellow")
call s:X("taskwarrior_field","","","standout,bold","","") call s:X("SignifySignDelete","#d75f5f","","bold","","Red")
hi! link taskwarrior_id Comment call s:X("SignifySignChange","#ffd787","","bold","","Yellow")
hi! link taskwarrior_project Keyword hi! link SignifyLineAdd DiffAdd
hi! link taskwarrior_entry Identifier hi! link SignifyLineDelete DiffDelete
hi! link taskwarrior_description String hi! link SignifyLineChange DiffChange
"taglist "syntastic
hi! link TagListFileName Directory call s:X("SyntasticError","#d75f5f","","standout,bold","Red","")
call s:X("SyntasticWarning","#ffd787","","standout,bold","Yellow","")
hi! link SyntasticErrorLine SyntasticError
hi! link SyntasticWarningLine SyntasticWarning
hi! link SyntasticErrorSign SyntasticError
hi! link SyntasticWarningSign SyntasticWarning
hi! link qfSeparator Delimiter
hi! link qfLineNr SyntasticError
"syntastic "taglist
call s:X("SyntasticError","#d75f5f","","standout,bold","Red","") hi! link TagListFileName Directory
call s:X("SyntasticWarning","#ffd787","","standout,bold","Yellow","")
hi! link SyntasticErrorLine SyntasticError "taskwarrior
hi! link SyntasticWarningLine SyntasticWarning call s:X("taskwarrior_tablehead","#d0d0d0","","standout,bold",s:termBlack,"White")
hi! link SyntasticErrorSign SyntasticError call s:X("taskwarrior_field","","","standout,bold","","")
hi! link SyntasticWarningSign SyntasticWarning hi! link taskwarrior_id Comment
hi! link qfSeparator Delimiter hi! link taskwarrior_project Keyword
hi! link qfLineNr SyntasticError hi! link taskwarrior_entry Identifier
hi! link taskwarrior_description String
"}}}
"delete functions {{{ "delete functions {{{
delf s:X delf s:X

View file

@ -80,11 +80,11 @@
" ` | (A) -> toggle the gutter(line numbers, folds and signify) " ` | (A) -> toggle the gutter(line numbers, folds and signify)
" "
" <Space><Space> | (N) -> toggle selected fold " <Space><Space> | (N) -> toggle selected fold
" <Leader>= | (N) -> open all folds " <Space>= | (N) -> open all folds
" <Leader>+ | (N) -> open all folds " <Space>+ | (N) -> open all folds
" <Leader>- | (N) -> unopen all folds " <Space>- | (N) -> unopen all folds
" <Leader>_ | (N) -> unopen all folds " <Space>_ | (N) -> unopen all folds
" <Leader>0 | (N) -> reset all folds using default fold level " <Space>0 | (N) -> reset all folds using default fold level
" "
" <Ctrl-F1> | (A) -> toggle vimfiler sidebar " <Ctrl-F1> | (A) -> toggle vimfiler sidebar
" <Ctrl-F2> | (A) -> toggle the gundo sidebar " <Ctrl-F2> | (A) -> toggle the gundo sidebar
@ -420,11 +420,11 @@
nnoremap <silent><expr> <Space>+ 'zn:echo "all folds have been opened"<CR>' nnoremap <silent><expr> <Space>+ 'zn:echo "all folds have been opened"<CR>'
"close folds set to be closed "close folds set to be closed
nnoremap <silent><expr> <Leader>- 'zN:echo "all opened folds have been closed"<CR>' nnoremap <silent><expr> <Space>- 'zN:echo "all opened folds have been closed"<CR>'
nnoremap <silent><expr> <Leader>_ 'zN:echo "all opened folds have been closed"<CR>' nnoremap <silent><expr> <Space>_ 'zN:echo "all opened folds have been closed"<CR>'
"reset all folds to the default fold level "reset all folds to the default fold level
nnoremap <silent><expr> <Leader>0 'zX:echo "all folds have been reset"<CR>' nnoremap <silent><expr> <Space>0 'zX:echo "all folds have been reset"<CR>'
"trigger vimfiler "trigger vimfiler
nnoremap <silent><expr> <C-F1> ':VimFiler -split -simple -toggle -no-quit -direction=topleft -winwidth=45<CR>' nnoremap <silent><expr> <C-F1> ':VimFiler -split -simple -toggle -no-quit -direction=topleft -winwidth=45<CR>'

View file

@ -31,6 +31,11 @@
set tags=./.tags;,~/.vim/tags set tags=./.tags;,~/.vim/tags
"}}} "}}}
"BOOKMARKS: {{{
let g:bookmark_sign = '★'
let g:bookmark_annotation_sign = '📌'
"}}}
"EASYTAGS: {{{ "EASYTAGS: {{{
let g:easytags_suppress_ctags_warning=1 let g:easytags_suppress_ctags_warning=1
if !filereadable(glob("~/.vim/tags"))|let g:easytags_file='~/.vim/tags'|endif if !filereadable(glob("~/.vim/tags"))|let g:easytags_file='~/.vim/tags'|endif
@ -175,16 +180,13 @@
endif endif
"}}} "}}}
"TAGBAR: {{{ "TABULAR: {{{
" TableFormat() for formatting markdown tables with Tabular "format markdown tables
function! s:TableFormat() function! s:TableFormat()
let l:pos = getpos('.') let l:pos = getpos('.')
normal! { normal! {
" Search instead of `normal! j` because of the table at beginning of file edge case.
call search('|') call search('|')
normal! j normal! j
" Remove everything that is not a pipe othewise well formated tables would grow
" because of addition of 2 spaces on the separator line by Tabularize /|.
s/[^|]//g s/[^|]//g
Tabularize /| Tabularize /|
s/ /-/g s/ /-/g