map <Esc>N/P: do 'zz' afterwards
authorshort <>
Fri, 17 Jan 2003 16:36:39 +0000 (16:36 +0000)
committershort <>
Fri, 17 Jan 2003 16:36:39 +0000 (16:36 +0000)
+map <Esc>B/O: cn/cp error list browsing

.vimrc

diff --git a/.vimrc b/.vimrc
index 0126e77..075edbb 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -63,8 +63,10 @@ noremap <Esc>p :set invpaste paste?<cr>
 noremap <Esc>l :set invlist paste?<cr>
 noremap <Esc>q @q
 noremap <Esc>: @:
 noremap <Esc>l :set invlist paste?<cr>
 noremap <Esc>q @q
 noremap <Esc>: @:
-noremap <Esc>N :next<cr>
-noremap <Esc>P :prev<cr>
+noremap <Esc>N :next<cr>zz
+noremap <Esc>B :cn<cr>zz
+noremap <Esc>P :prev<cr>zz
+noremap <Esc>O :cp<cr>zz
 noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA
 noremap <Esc>d :set hlsearch<cr>/^[+-]\([^+-].*\\|\)$<cr>
 noremap <Esc>D :set hlsearch<cr>/^[+-][+-]\([^+-].*\\|\)$<cr>
 noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA
 noremap <Esc>d :set hlsearch<cr>/^[+-]\([^+-].*\\|\)$<cr>
 noremap <Esc>D :set hlsearch<cr>/^[+-][+-]\([^+-].*\\|\)$<cr>