Improving Zsh vi-mode ergonomics with inline man-page lookups (zsh-vi-man)

I wrote a small extension called zsh-vi-man that hooks into Zsh’s line editor. When your cursor is on a command-line option, pressing Shift+K opens the relevant part of the man page. It’s similar to how Vim’s K works, but adapted for shell usage by identifying the token under the cursor and jumping to the matching section in the manual.

submitted by /u/imreallytuna
[link] [comments]