summaryrefslogtreecommitdiffhomepage
path: root/tools/vim/ftplugin/help.vim
blob: 29906a8d9060466e828d260d81cbb6464901affb (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 <nico at ni.fr.eu.org>
" 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>