Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 941 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 941 Bytes

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).