From e6cd05a869016b35794ed88f322576a6887b9962 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sat, 10 Feb 2018 11:41:22 +0000 Subject: [PATCH] resizing shortcuts --- vimrc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index a7dbde7..0552e95 100644 --- a/vimrc +++ b/vimrc @@ -106,6 +106,9 @@ if &term == 'xterm-256color' set termguicolors endif +set guioptions-=mTrLb +set guioptions+=c + colorscheme customred256 set backupdir=~/.vimtmp @@ -152,14 +155,10 @@ nnoremap l nnoremap k nnoremap j -" better window resizing -" need to use j because urxvt sends the character prefixed with Escape -" instead of setting the eighth bit -" see https://unix.stackexchange.com/a/199705 -nnoremap j :resize +5 -nnoremap k :resize -5 -nnoremap l :vertical resize +5 -nnoremap h :vertical resize -5 +nnoremap rj :resize -5 +nnoremap rk :resize +5 +nnoremap rl :vertical resize +5 +nnoremap rh :vertical resize -5 "location list and quickfix mappings nnoremap ll :botright lwindow