CLI Tool Utilities & Power Tools ★ 4,493 stars on GitHub

zsh-vi-mode

Enhance your terminal navigation with a smooth, near-native vim editing mode designed specifically for Zsh shells.

Get Command-Line Tool →
Command-Line Utility (No Graphical Interface): This program runs inside your system terminal or command prompt rather than opening a desktop window. Follow the official installation instructions below.

Guide and Overview

What it does in plain English

zsh-vi-mode replaces awkward default shell key shortcuts with a fully responsive, near-native text editing experience. It lets you use familiar keyboard movements, text selections, and clipboard shortcuts directly inside your command line window. You can switch between typing text and navigating commands instantly without missing a keystroke.

Who it’s for

  • Software developers and system administrators who rely heavily on terminal commands.
  • Power users who love text editor shortcuts and want them inside their shell environment.
  • Anyone looking to speed up command-line text editing and history searching.

Key features

  • Near-native text editing behavior with lightning-fast mode switching speeds.
  • Dynamic cursor styles that change shape depending on your active mode.
  • Seamless integration with your operating system clipboard for easy copying and pasting.
  • Handy shortcuts to open and edit long commands in an external text editor.
  • Built-in text object manipulation, search history navigation, and keyword incrementing.

How to install (Download)

You can install this plugin using popular terminal plugin managers or package managers.

  • Antigen: antigen bundle jeffreytse/zsh-vi-mode
  • Oh My Zsh: Clone into custom plugins and add to your configuration (git clone https://github.com/jeffreytse/zsh-vi-mode $ZSH_CUSTOM/plugins/zsh-vi-mode)
  • Homebrew (macOS): brew install zsh-vi-mode
  • Arch Linux (AUR): yay -S zsh-vi-mode
  • Manual Setup: Clone the official project page and source the plugin script in your shell configuration file. Visit the Official Source / Credits for complete setup instructions.

Pros and Cons

  • Pros: Completely free and open-source, highly responsive with zero external dependencies, supports system clipboard integration.
  • Cons: Requires familiarity with text editor key bindings, initial configuration needed if using custom escape keys.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.