nvim: init.vim: Add shortcuts for splits
This commit is contained in:
parent
d2c059bb40
commit
87db61b102
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue