|Sylvia 35d549581e Add support for calling a specific manpage||2 years ago|
|plugin||2 years ago|
|LICENSE||3 years ago|
|README.md||2 years ago|
vim comes with a K command, which runs a program to lookup the keyword under the cursor. However, by default, the K command uses man for everything.
vim-betterK improves the K command by using appropriate locally installed help viewers depending on the programming language in question, instead of using man for everything.
vim-betterK overwrites the regular K command, functioning in the same way. Put your cursor on some text, or select some text in visual mode, and press K to get keyword information.
To call a specific manpage, regardless of the filetype-specific behaviour, prefix K with a count. For example, to check out the selection in man 3, type
If you're using Vundle, add
C: man 3; man 2 Haskell: hoogle; hoogle (online) Perl: perldoc PHP: pman Python: pydoc Ruby: ri sh: man 1 vim: built-in :help