⚙️ 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
- Zi
- Zgen
- Standalone
Add the following to .zshrc. The config files will be available in ~/.config/zew.
~/.zshrc
zi load z-shell/zsh-editing-workbench
Add zgen load z-shell/zsh-editing-workbench to .zshrc and issue a zgen reset (this assumes that there is a proper zgen save construct in .zshrc). The config files will be available in ~/.config/zew.
After extracting ZEW to {some-directory} add the following two lines to ~/.zshrc:
~/.zshrc
fpath+=( {some-directory} )source "{some-directory}/zsh-editing-workbench.plugin.zsh"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