Re:Vim tricks
by godelski on Sunday June 02, 2019 @05:53PM
(#20078516)
That's how I found `K`. I was surprised the first time I got a man page open. Now I find it pretty useful and wish it extended to more than man pages.
[ Parent
| on HN ]
Re:Vim tricks
by dredmorbius on Sunday June 02, 2019 @09:52PM
(#20079817)
I remap that to query dict in prose contexts. Mostly for mutt:
au FileType mail set keywordprg=~/bin/dictless
Re:Vim tricks
by ronmrdechai on Sunday June 02, 2019 @06:39PM
(#20078831)
Take a look at `:help 'keywordprg'`.
Can I do things like get `K` to work on python commands? Including modules? Or with other languages?
I see that I can do `set keywordprg=pydoc` but I want modules too.
Check out vim-dokumentary: https://github.com/gastonsimone/vim-dokumentary