dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 6430708d398bfd6f01bc7a475195f56243b878d5
parent 50b78b97dd3f605c808f1ca0f98f669146ccf6a7
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Fri, 23 Sep 2016 10:57:39 -0700

add visual indication of indentation

Diffstat:
M.vimrc | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -176,6 +176,9 @@ NeoBundle 'majutsushi/tagbar' " Control mpd by CtrlP NeoBundle 'lucidstack/ctrlp-mpc.vim' +" Show indentation levels with thin vertical lines +NeoBundle 'Yggdroot/indentLine' + call neobundle#end() filetype plugin indent on @@ -679,5 +682,12 @@ nnoremap <leader>M :CtrlPMpc<cr> " use improved encryption method by default "set cm=blowfish +" Indent guides color and character┆│¦⦙ +let g:indentLine_char = '¦' +" Vim +let g:indentLine_color_term = 238 +"GVim +let g:indentLine_color_gui = '#3A3A3A' + " toggle autoformatting of text nnoremap <leader>f :exe 'set fo'.(&fo=~'a'?'-':'+').'=a'<CR>