commit 8e472f537396f6a6860352dda4b28f56c8b1fb95
parent bfc5a13fd8fc44a8fda8375ab6d8c504f14ed3c7
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 18 Mar 2018 13:49:56 -0700
Use manpage plugin for Shift-K lookups
Replaces default handling with slightly fancier manpage plugin.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -17,6 +17,10 @@ Plugin 'google/vim-ft-bzl'
call vundle#end()
filetype plugin indent on
+" Bind fancier manpage plugin to Shift-k
+runtime ftplugin/man.vim
+set keywordprg=:Man
+
let mapleader=','
let s:cpo_save=&cpo
set cpo&vim