nvim: init.vim: Add shortcuts for splits

This commit is contained in:
Sanchayan Maity 2019-11-18 11:13:27 +05:30 committed by Sanchayan Maity
parent d2c059bb40
commit 87db61b102

View file

@ -177,6 +177,9 @@ nnoremap <Leader>b :ls<CR>:b<Space>
nnoremap <Leader>w <Esc>:w<CR>
" Search and Replace
nnoremap <Leader>sr :%s//g<Left><Left>
" Manage window splitting
nnoremap <Leader>sh <Esc>:sp<CR>
nnoremap <Leader>sv <Esc>:vsp<CR>
" Quit
nnoremap <Leader>x <Esc>:x<CR>
nnoremap <Leader>q <Esc>:q<CR>