Hacker News new | ask | show | jobs
by periya 2574 days ago
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
1 comments

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.
I remap that to query dict in prose contexts. Mostly for mutt:

    au FileType mail set keywordprg=~/bin/dictless
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.