nvim: init.vim: Fix binding for save
w is for word motion. Do not use it without leader. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
83b5ba6487
commit
e727452726
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ nnoremap <Leader>b :ls<CR>:b<Space>
|
||||||
" Undo tree
|
" Undo tree
|
||||||
nnoremap <Leader>u :UndotreeToggle<CR>
|
nnoremap <Leader>u :UndotreeToggle<CR>
|
||||||
" Save
|
" Save
|
||||||
nnoremap w <Esc>:w<CR>
|
nnoremap <Leader>w <Esc>:w<CR>
|
||||||
" Search and Replace
|
" Search and Replace
|
||||||
nnoremap sr :%s//g<Left><Left>
|
nnoremap sr :%s//g<Left><Left>
|
||||||
" Manage window splitting
|
" Manage window splitting
|
||||||
|
|
Loading…
Reference in a new issue