From 337119fa0276f0ae650db3cfd0ae2b41a136aa72 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 7 Apr 2021 10:34:13 -0400 Subject: [PATCH] scroll the whole page without moving the cursor, and remap arrows to re-size splits --- .vimrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 3eb9045..f93b99c 100644 --- a/.vimrc +++ b/.vimrc @@ -36,7 +36,7 @@ let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 -let g:airline_theme = 'dark' +let g:airline_theme = 'light' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 let mapleader = ";" @@ -44,6 +44,9 @@ set showcmd map a :bn map f :bp map d :bp:bd # +"---move the whole page without moving the cursor--- +nnoremap J +nnoremap K "-----nerdtree-------------------- nmap e :NERDTreeToggle " Search as you type, highlight results @@ -52,3 +55,8 @@ set showmatch set hlsearch nnoremap \\ :noh " Clear higlighting "nnoremap :noh +" Resize windows +nnoremap 5+ +nnoremap 5- +nnoremap 10> +nnoremap 10<