summaryrefslogtreecommitdiff
path: root/d/tools/vim/ftplugin/help.vim
diff options
context:
space:
mode:
Diffstat (limited to 'd/tools/vim/ftplugin/help.vim')
-rw-r--r--d/tools/vim/ftplugin/help.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/d/tools/vim/ftplugin/help.vim b/d/tools/vim/ftplugin/help.vim
new file mode 100644
index 0000000..bc80f08
--- /dev/null
+++ b/d/tools/vim/ftplugin/help.vim
@@ -0,0 +1,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>