File: devhelp.vim

package info (click to toggle)
devhelp 0.3-10
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,056 kB
  • ctags: 1,261
  • sloc: ansic: 10,528; sh: 6,686; makefile: 422; yacc: 318; python: 253; lisp: 6
file content (11 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
" vim macro to jump to devhelp topics.
" Idea copied from the same "emacs intergration" script by <author/>
" -- Gert
function! DevHelpCurrentWord()
	let word = expand("<cword>")
	exe "!devhelp -s " . word
endfunction

" Example: bind <ESC>h to start devhelp and search for the word under the
" cursor
nmap <ESC>h :call DevHelpCurrentWord()<CR>