1
0
Fork 0

hotkey for toggling list and number in vim

This commit is contained in:
Von Random 2014-12-22 18:13:59 +03:00
parent d34598a57a
commit 0801e3ba93

2
vimrc
View file

@ -54,6 +54,8 @@ if v:version >= 700
set list set list
set listchars=tab:\|\ ,trail:*,nbsp:x set listchars=tab:\|\ ,trail:*,nbsp:x
nnoremap <leader>l :setlocal list!<cr>
nnoremap <leader>r :setlocal number!<cr>
" enable case indentation " enable case indentation
let g:sh_indent_case_labels=1 let g:sh_indent_case_labels=1