add split window shorcut

This commit is contained in:
Nachuan Tang
2022-07-24 16:02:13 -04:00
parent 9f6a9dc40c
commit 3fec4c1057
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -339,6 +339,11 @@
nnoremap <space>q :bprevious<CR>
nnoremap <space>e :bnext<CR>
" window split mimic tmux and comform to
" other vim window operation
nnoremap <C-w>% :vsplit<CR>
nnoremap <C-w>" :split<CR>
" Use bundles config {
if filereadable(expand("~/.vimrc.bundles"))
source ~/.vimrc.bundles
+1 -1
View File
@@ -51,6 +51,7 @@
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" The bottom buffer display
Plug 'bling/vim-bufferline'
Plug 'easymotion/vim-easymotion'
Plug 'nathanaelkane/vim-indent-guides'
@@ -73,7 +74,6 @@
endif
Plug 'EdenEast/nightfox.nvim'
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
call plug#end()