summaryrefslogtreecommitdiff
path: root/.config/nvim/config
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-03-01 09:46:30 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commitcfa38c4ba463c1534c13b5fff63aa0be4d17c33b (patch)
treec03e035bb50eb11c4020f76506bac2ab328318f8 /.config/nvim/config
parent090d62c4cf1eaf2b59a92c31aed1ca3b8f257a8b (diff)
[nvim] add buffer resizing keymaps
Diffstat (limited to '.config/nvim/config')
-rw-r--r--.config/nvim/config/keys.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/config/keys.vim b/.config/nvim/config/keys.vim
index bfb45e9..7916e12 100644
--- a/.config/nvim/config/keys.vim
+++ b/.config/nvim/config/keys.vim
@@ -11,6 +11,12 @@ nnoremap <A-Down> <C-w><Down>
nnoremap <C-Left> <cmd>tabprevious<CR>
nnoremap <C-Right> <cmd>tabnext<CR>
+" buffer resize
+nnoremap <A-+> <C-w>+
+nnoremap <A--> <C-w>-
+nnoremap <A-<> <C-w><
+nnoremap <A->> <C-w>>
+
" esc / quit
map <ESC><C-c> <CR>
nnoremap <C-q> <cmd>q<CR>