From: James Bunton Date: Tue, 23 Oct 2007 12:28:27 +0000 (+1000) Subject: Moved some vim macros into macros.vim X-Git-Url: https://code.delx.au/dotfiles/commitdiff_plain/4c25a767e269746d1bad27d857187af697f2745a Moved some vim macros into macros.vim --- 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