How do I look up documentation for the keyword under the cursor?
K
Pressing K in normal mode runs a lookup program on the word under the cursor.
navigation #navigation #help #documentation #normal-mode #keywordprg
3 results for "K keyword help"
K
Pressing K in normal mode runs a lookup program on the word under the cursor.
navigation #navigation #help #documentation #normal-mode #keywordprg
:set keywordprg=:help
By default, pressing K in Normal mode runs the word under the cursor through an external program — usually man.
:set keywordprg
The K key in normal mode looks up the word under the cursor using the program defined by keywordprg.