[ADD][VIM] Local leader mapping
I don't use the '!' command to filter text through an external program. If I need that functionality I use visual mode and a ':!' command.
This commit is contained in:
parent
5e5b8271c2
commit
57a48b3c05
|
@ -326,6 +326,8 @@ nnoremap Y y$
|
|||
" Map leader to space (needs the noremap trick)
|
||||
nnoremap <Space> <Nop>
|
||||
let mapleader=" "
|
||||
" Map localleader to '!' (if I want to filter text, I use visual mode)
|
||||
let maplocalleader="!"
|
||||
|
||||
" Mappings for working with this file.
|
||||
map <Leader>ev :edit $MYVIMRC<CR>
|
||||
|
|
Loading…
Reference in a new issue