/zsh-vim-mode

Zsh's vi-mode with history-substring-search support

Primary LanguageShell

zsh-vim-mode

Modified from original zsh's vi mode with history-substring-search compatibility.

Install with oh-my-zsh

  • Download the script or clone this repository in oh-my-zsh plugins directory:

    git clone git://github.com/houjunchen/zsh-vim-mode.git $ZSH_CUSTOM/plugins/zsh-vim-mode
  • Activate the plugin in ~/.zshrc (after history-substring-search):

    plugins=([plugins...] zsh-vim-mode)
  • Source ~/.zshrc to take changes into account:

    source ~/.zshrc

Basic usage

Refer to vi mode.

More custom setup

Refer to zshzle(1).