summaryrefslogtreecommitdiff
path: root/d/tools/vim/ftplugin/help.vim
blob: bc80f08e94d7d7ad4ff5c85437f97b92849bacc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim filetype plugin file
" Language:	help files
" Maintainer:	Nicolas Schodet <schodet@efrei.fr>
" Last Change:	Monday 27 January 2003

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

nnoremap <buffer> <CR> <C-]>
nnoremap <buffer> <BS> <C-T>
nnoremap <buffer> + /\(['\|]\)[^'\|]\{2,\}\1/b+<CR>
nnoremap <buffer> - ?\(['\|]\)[^'\|]\{2,\}\1?b+<CR>