Skip to content

Instantly share code, notes, and snippets.

@Osse
Created April 15, 2012 21:36

Revisions

  1. Osse created this gist Apr 15, 2012.
    6 changes: 6 additions & 0 deletions ftplugin_help.vim
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    if &readonly
    nnoremap <CR> <C-]>
    nnoremap <BS> <C-O>
    nnoremap <Down> /\('\<bar><bar>\)[^, <bar>]\{-1,}\1<CR>:nohl<cr>
    nnoremap <Up> ?\('\<bar><bar>\)[^, <bar>]\{-1,}\1<CR>:nohl<cr>
    endif