Back to Ohmyzsh

Colemak plugin

plugins/colemak/README.md

latest2.5 KB
Original Source

Colemak plugin

This plugin remaps keys in zsh's vi-style navigation mode for a Colemak keyboard layout, to match the QWERTY position:

To use it, add it to the plugins array in your ~/.zshrc file:

plugins=(... colemak)

You will also need to enable vi mode, so add another line to ~/.zshrc:

bindkey -v

Restart your shell and hit the <ESC> key to activate vicmd (navigation) mode, and start navigating zsh with your new keybindings!

Key bindings for vicmd

OldNewBindingDescription
CTRL+jCTRL+naccept-lineInsert new line
jndown-line-or-historyMove one line down or command history forwards
keup-line-or-historyMove one line up or command history backwards
livi-forward-charMove one character to the right
nkvi-repeat-searchRepeat command search forwards
NKvi-rev-repeat-searchRepeat command search backwards
iuvi-insertEnter insert mode
IUvi-insert-bolMove to first non-blank char and enter insert mode
<none>lvi-undo-changeUndo change
JNvi-joinJoin the current line with the next one
ejvi-forward-word-endMove to the end of the next word
EJvi-forward-blank-word-endMove to end of the current or next word

Key bindings for less

Keyboard shortcutless key binding
nforw-line
eback-line
krepeat-search
ESC+krepeat-search-all
Kreverse-search
ESC+Kreverse-search-all