~gpanders/dotfiles

f686dd60507bbc61995dc31dda9836f5e657ca16 — Greg Anders 2 years ago 9f40422
Use 'q' to quit help buffers

This reverts a change in bd18a34e
1 files changed, 2 insertions(+), 2 deletions(-)

M vim/.vim/after/ftplugin/help.vim
M vim/.vim/after/ftplugin/help.vim => vim/.vim/after/ftplugin/help.vim +2 -2
@@ 8,7 8,7 @@ noremap <silent> <buffer> <C-J> /<Bar>\S\{-}<Bar><CR>:nohlsearch<CR>
noremap <silent> <buffer> <C-K> ?<Bar>\S\{-}<Bar><CR>:nohlsearch<CR>

" Make help in vim more like a pager
noremap <silent> <buffer> gq :q<CR>
noremap <silent> <nowait> <buffer> q :q<CR>
noremap <silent> <nowait> <buffer> d <C-d>
noremap <silent> <nowait> <buffer> u <C-u>



@@ 16,6 16,6 @@ let b:undo_ftplugin = b:undo_ftplugin
      \ . '|unm <buffer> <CR>'
      \ . '|unm <buffer> <C-J>'
      \ . '|unm <buffer> <C-K>'
      \ . '|unm <buffer> gq'
      \ . '|unm <buffer> q'
      \ . '|unm <buffer> d'
      \ . '|unm <buffer> u'