This repository exports key bindings of Oh My Zsh as a standalone zsh plugin that you can install using zplug, antigen/antibody or with no bundler at all.
Why? I don't want to use the bulky Oh My Zsh for only a few features.
- PageUp / PageDown
navigate history up/down line-by-line - ↑ / ↓
fuzzy find input line in history - Control+r
search history backwards incrementally - Home / End
go to beginning/end of input line - Control+← / Control+→
move cursor one word forward/backward - Shift+Tab
navigate completion menu backwards - Control+x, then Control+e
edit the currently input line in$EDITOR
- Esc, then w
erase from cursor to the beginning of the line - Esc, then l
runls
- Esc, then m
copy previous word (helpful for file renaming)
You don't need to do anything. These keybindings are included with Oh My Zsh.
In your .zshrc:
antibody bundle NickKaramoff/ohmyzsh-key-bindings
Or, if you use static loading, add NickKaramoff/ohmyzsh-key-bindings
to your
.txt-file with plugins.
In your .zshrc:
antigen bundle NickKaramoff/ohmyzsh-key-bindings
zplug "NickKaramoff/ohmyzsh-key-bindings", use:"ohmyzsh-key-bindings.zsh"
zgen load "NickKaramoff/ohmyzsh-key-bindings"
zinit ice depth=1; zinit load "NickKaramoff/ohmyzsh-key-bindings"
git clone --depth=1 https://github.com/NickKaramoff/ohmyzsh-key-bindings.git ~/.ohmyzsh-key-bindings
echo 'source ~/ohmyzsh-key-bindings/ohmyzsh-key-bindings.zsh' >>! ~/.zshrc
This repository is licensed under the MIT License and uses code copied and/or derived from ohmyzsh/ohmyzsh, which is as well licensed under the MIT License.