diff options
author | Karel Kočí <cynerd@email.cz> | 2017-08-02 20:22:20 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-08-02 20:22:20 +0200 |
commit | cf52d4ecaef0ea3b7283bf2f38d19422cb84e917 (patch) | |
tree | 7ff3c5200b75abfe3863d549928f93461ec1a647 /vimrc | |
parent | 24659f9f7efa5479563dea8d2bb1b02134674dfc (diff) | |
download | myconfigs-cf52d4ecaef0ea3b7283bf2f38d19422cb84e917.tar.gz myconfigs-cf52d4ecaef0ea3b7283bf2f38d19422cb84e917.tar.bz2 myconfigs-cf52d4ecaef0ea3b7283bf2f38d19422cb84e917.zip |
Updates for vim
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -49,10 +49,12 @@ endfunction command TabToogle call TabToogle() " Indent guides +let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_start_level=2 let g:indent_guides_guide_size=1 -hi IndentGuidesOdd ctermbg=black -hi IndentGuidesEven ctermbg=102 +let g:indent_guides_auto_colors = 0 +autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=232 +autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=233 " Write as root cmap w!! w !sudo tee >/dev/null % @@ -103,14 +105,6 @@ endfunction setlocal spelllang=en_us map <F11> :call LangToggle()<cr> -" TODO for python file type set: -" set colorcolumn=79 -" set textwidth=79 - -" TODO for C file type set: -" TODO bind F2 to execute gnu ident on whole file and ensure that if it fails, no change is done. -" TODO check if .tags exists and alternativelly warn that it missing - " UltiSnips triggers let g:UltiSnipsExpandTrigger="<c-h>" let g:UltiSnipsJumpForwardTrigger="<c-j>" |