Added easier mappings for splits
This commit is contained in:
1
init.vim
1
init.vim
@@ -60,6 +60,7 @@ nnoremap <S-space> zA
|
||||
let &packpath = &runtimepath
|
||||
source ~/.config/nvim/plug.vim
|
||||
source ~/.config/nvim/gui.vim
|
||||
source ~/.config/nvim/splits.vim
|
||||
source ~/.config/nvim/deoplete.vim
|
||||
source ~/.config/nvim/bufferline.vim
|
||||
source ~/.config/nvim/latex.vim
|
||||
|
||||
13
splits.vim
Normal file
13
splits.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
" Adds handy configurations to navigate and handle splits.
|
||||
" Created On: Sun 29 Aug 2021 12:39:36 PM CEST
|
||||
" Last Modified: Sun 29 Aug 2021 12:39:36 PM CEST
|
||||
|
||||
" For a more natural feel, open splits to the right and bottom
|
||||
set splitbelow
|
||||
set splitright
|
||||
|
||||
" Remap navigation to more convienient places
|
||||
nnoremap <C-S-Up> <C-W><C-K>
|
||||
nnoremap <C-S-Down> <C-W><C-J>
|
||||
nnoremap <C-S-Left> <C-W><C-H>
|
||||
nnoremap <C-S-Right> <C-W><C-L>
|
||||
Reference in New Issue
Block a user