跳到主要内容

⚙️ Editing Workbench

z-shell/zsh-editing-workbench

Organized shortcuts for various command line editing operations, plus new operations as incremental history word completion.

Incremental history word completing is started with Alt-h/H or Option-h/H on Mac.

Install Zsh Editing Workbench

Add the following to .zshrc. The config files will be available in ~/.config/zew.

~/.zshrc
zi load z-shell/zsh-editing-workbench

Configuring terminals

XTerm

To make Alt key work like expected under XTerm add XTerm*metaSendsEscape: true to your resource file, e.g.:

echo 'XTerm*metaSendsEscape: true' >> ~/.Xresources