*messing around with vim*
Wait, does uppercase K do anything in Normal Mode?
*Types uppercase K*
…
Wait, wtf just happened
*Types uppercase K again*
???
*Tries it a third time*
*Dawning realization*
OH THAT'S REALLY COOL
*messing around with vim*
Wait, does uppercase K do anything in Normal Mode?
*Types uppercase K*
…
Wait, wtf just happened
*Types uppercase K again*
???
*Tries it a third time*
*Dawning realization*
OH THAT'S REALLY COOL
Update now that I have checked the manual it turns out uppercase K does something totally different than what I thought it does (it opens the man page for the word under the cursor) but if the cursor is over something with no man page it does the thing I want (hide vi and show the cmdline as it was before opening vi), so since *most* words don't have manpages I guess I now have an xkcd 1172 workflow
@mcc well, it'll invoke the program named by the option variable 'keywordprg', but 'keywordprg', like other options, can be given a different value for each buffer, and usually this will happen automatically (like, there's an autocmd for it) and set according to the 'filetype' (text, help, c, cpp, rust, etc).
So e.g. if the filetype is 'text', in my config 'keywordprg' is ':Man'; if the filetype is 'help', 'keywordprg' is ':help' (which makes it easy to navigate the help pages).
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.