Separating vim's config from neovim's config simplifies the deployment of lua for neovim's configuration. At the same time, clean up current neovim config by removing all outdated options and options with equal or even better defaults. Furthermore, the 'old' vim configuration should be kept as-is to ensure compability with older systems if needed.
16 lines
443 B
VimL
16 lines
443 B
VimL
" allow easier pane switching
|
|
nnoremap <C-J> <C-W><C-J>
|
|
nnoremap <C-K> <C-W><C-K>
|
|
nnoremap <C-L> <C-W><C-L>
|
|
nnoremap <C-H> <C-W><C-H>
|
|
|
|
" allow easier pane resizing
|
|
nnoremap <M-J> :resize -2<CR>
|
|
nnoremap <M-K> :resize +2<CR>
|
|
nnoremap <M-L> :vertical resize -2<CR>
|
|
nnoremap <M-H> :vertical resize +2<CR>
|
|
|
|
" use TAB to switch to next buffers
|
|
nnoremap <TAB> :bnext<CR>
|
|
" use Shift-TAB to switch to previous buffers
|
|
nnoremap <S-TAB> :bprevious<CR>
|