hotkey for toggling list and number in vim
This commit is contained in:
parent
d34598a57a
commit
0801e3ba93
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue