diff options
Diffstat (limited to 'configs/.vimrc')
-rw-r--r-- | configs/.vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/.vimrc b/configs/.vimrc index fc5b31859eee..b5bb7241c009 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -84,6 +84,11 @@ set foldnestmax=10 set nofoldenable set foldlevel=4 + +" Use relative line numbers +set relativenumber + + " Opens all folds within the buffer nnoremap ZZ zR @@ -361,6 +366,7 @@ nnoremap <leader>8 :vertical resize 80<CR> nnoremap <leader>9 :vertical resize 90<CR> nnoremap <leader>0 :vertical resize 100<CR> + " Increases the height of a horizontal split. nnoremap <leader>v1 :resize 5<CR> nnoremap <leader>v2 :resize 10<CR> |