aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc14
1 files changed, 4 insertions, 10 deletions
diff --git a/vimrc b/vimrc
index fd23bfa..3d48e8d 100644
--- a/vimrc
+++ b/vimrc
@@ -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>"