{"repo":"TunaCuma/zsh-vi-man","free":true,"listed":false,"github":"https://github.com/TunaCuma/zsh-vi-man","clone":"git clone https://github.com/TunaCuma/zsh-vi-man.git","description":"Zsh vi-mode plugin for instant man-page help — press Shift-K to open a command’s man page with the option under your cursor auto-searched. 🔍","language":"Shell","stars":100,"topics":["antigen","command-line-tool","oh-my-zsh","productivity","shell","shell-script","terminal","vi-keybinds","vim","zgen"],"license":"MIT","category":"cli-tools","readme_excerpt":"📖 zsh-vi-man Smart man page lookup for zsh vi mode (now with emacs mode support!) Press K (vi normal mode), Ctrl-X k (emacs mode), or Ctrl-K (vi insert mode) on any command or option to instantly open its man page ✨ Features 🎯 Smart Detection Automatically finds the right man page for subcommands 🔍 Option Jumping Opens man page directly at the option definition 🔗 Combined Options Works with combined short options 📝 Value Extraction Handles options with values 🔀 Complex Syntax Support Detects correct command in pipelines, command substitutions & more 🛠️ Multiple Formats Supports various man page styles 📦 Installation zinit antidote Add to your .zsh plugins.txt : oh-my-zsh Then add to your .zshrc : Manual 🚀 Usage Vi Normal Mode (Default) 1. Type a command (e.g., ls -la or git commit --amend ) 2. Press Escape to enter vi normal mode 3. Move cursor to any word 4. Press K to open the man page Emacs Mode / Vi Insert Mode Without leaving insert mode or if using emacs mode: - Emacs mode : Press Ctrl-X then k - Vi insert mode : Press Ctrl-K Examples Command Cursor On Result :--------------------- :------------- :----------------------------------- ls -la ls Opens man ls ls -la -la Opens man ls , jumps to -l git commit --amend commit Opens man git-commit grep --color=auto --color=auto Opens man grep , jumps to --color cat file \\ sort -r -r Opens man sort , jumps to -r find . -name \" .txt\" -name Opens man find , jumps to -name ⚙️ Configuration Set these variables before sourcin","default_branch":null,"files":null,"tree":[],"storefront":"/r/TunaCuma","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TunaCuma/zsh-vi-man/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}