From 4c25a767e269746d1bad27d857187af697f2745a Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 23 Oct 2007 22:28:27 +1000 Subject: [PATCH] Moved some vim macros into macros.vim --- .vim/display.vim | 2 -- .vim/macros.vim | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vim/display.vim b/.vim/display.vim index 3397c4c..0456e6f 100644 --- a/.vim/display.vim +++ b/.vim/display.vim @@ -33,8 +33,6 @@ set wildmode=longest,list " Allow splits to have 0 height (use C-W _) set wmh=0 -map j_ -map k_ " Always keep one line of context around the cursor set scrolloff=1 diff --git a/.vim/macros.vim b/.vim/macros.vim index 1ceb24c..ec7037b 100644 --- a/.vim/macros.vim +++ b/.vim/macros.vim @@ -24,6 +24,10 @@ noremap Y y$ nnoremap :next nnoremap :prev +" CTRL-J/K to move up and down, collapsing open windows +map j_ +map k_ + " Press CTRL-X after pasting something to fix up formatting imap u:set paste.:set nopastei -- 2.39.2