Created
November 24, 2012 00:18
-
-
Save dahu/4137807 to your computer and use it in GitHub Desktop.
ftplugin/help.vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" help.vim - ftplugin for better Help navigation and operation | |
" Barry Arthur | |
" jump to links with CR | |
nmap <buffer> <CR> <C-]> | |
" jump back with BS | |
nmap <buffer> <BS> <C-T> | |
" skip to next option link | |
nmap <buffer> o /'[a-z]\{2,\}'<CR> | |
" skip to previous option link | |
nmap <buffer> O ?'[a-z]\{2,\}'<CR> | |
" skip to next subject link | |
nmap <buffer> s /\|\S\+\|<CR>l | |
" skip to previous subject link | |
nmap <buffer> S h?\|\S\+\|<CR>l | |
" quit | |
nmap <buffer> q :q<CR> | |
" skip to next/prev quickfix list entry (from a helpgrep) | |
nmap <buffer> <leader>j :cnext<CR> | |
nmap <buffer> <leader>k :cprev<CR> | |
set nospell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment