diff options
Diffstat (limited to 'misc/vim/ftplugin/go/godoc.vim')
-rw-r--r-- | misc/vim/ftplugin/go/godoc.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/vim/ftplugin/go/godoc.vim b/misc/vim/ftplugin/go/godoc.vim new file mode 100644 index 000000000..55195a674 --- /dev/null +++ b/misc/vim/ftplugin/go/godoc.vim @@ -0,0 +1,13 @@ +" Copyright 2011 The Go Authors. All rights reserved. +" Use of this source code is governed by a BSD-style +" license that can be found in the LICENSE file. +" +" godoc.vim: Vim command to see godoc. + +if exists("b:did_ftplugin") + finish +endif + +silent! nmap <buffer> <silent> K <Plug>(godoc-keyword) + +" vim:ts=4:sw=4:et |