summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-28 11:36:26 +0100
committerAnton Khirnov <anton@khirnov.net>2021-12-28 11:36:26 +0100
commitb84528043da0da870eccde11380b1234441ccc29 (patch)
treea1c489095a16ea89d2680c02821f79bac94f7df9
parenta07cf1cfa83ecd3d8ae6151db86c7c457e8aa88d (diff)
vim: use <C-w>z to maximize current window
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index cf97de2..e85650e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -94,6 +94,9 @@ nmap gb :bnext<CR>
nmap gB :bprevious<CR>
map <leader>m :make<CR>
+" zoom/maximize a window
+nnoremap <C-w>z <C-w>\|<C-w>_
+
" miniSnip configuration
" FIXME split off?
let g:miniSnip_trigger = '<C-j>'