Re:Vim tricks
by periya on Sunday June 02, 2019 @04:49PM
(#20078070)
I’ve discovered q: when trying to quit vim in a hurry. You always keep finding new quirky things to do in vim but I guess the same hold true for other text editors like Emacs
[ Parent
| on HN ]
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.
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