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:
Sanchayan Maity 2019-12-30 19:15:26 +05:30
parent 83b5ba6487
commit e727452726
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ nnoremap <Leader>b :ls<CR>:b<Space>
" Undo tree
nnoremap <Leader>u :UndotreeToggle<CR>
" Save
nnoremap w <Esc>:w<CR>
nnoremap <Leader>w <Esc>:w<CR>
" Search and Replace
nnoremap sr :%s//g<Left><Left>
" Manage window splitting