diff options
author | Marvin Borner | 2019-03-05 01:09:01 +0100 |
---|---|---|
committer | Marvin Borner | 2019-03-05 01:09:01 +0100 |
commit | 55457187d18221e76bd12f0fb2cfab65c49b92fb (patch) | |
tree | 8db042d2d80710d54100c2709ad4332153ac848a /.oh-my-zsh/plugins/colemak/colemak.plugin.zsh |
Initial commit
Diffstat (limited to '.oh-my-zsh/plugins/colemak/colemak.plugin.zsh')
-rw-r--r-- | .oh-my-zsh/plugins/colemak/colemak.plugin.zsh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.oh-my-zsh/plugins/colemak/colemak.plugin.zsh b/.oh-my-zsh/plugins/colemak/colemak.plugin.zsh new file mode 100644 index 0000000..cb7cc50 --- /dev/null +++ b/.oh-my-zsh/plugins/colemak/colemak.plugin.zsh @@ -0,0 +1,22 @@ +# ctrl-j newline +bindkey '^n' accept-line +bindkey -a '^n' accept-line + +# another rotation to match qwerty +bindkey -a 'n' down-line-or-history +bindkey -a 'e' up-line-or-history +bindkey -a 'i' vi-forward-char + +# make qwerty +bindkey -a 'k' vi-repeat-search +bindkey -a 'K' vi-rev-repeat-search +bindkey -a 'u' vi-insert +bindkey -a 'U' vi-insert-bol +bindkey -a 'l' vi-undo-change +bindkey -a 'N' vi-join + +# spare +bindkey -a 'j' vi-forward-word-end +bindkey -a 'J' vi-forward-blank-word-end + +lesskey $ZSH/plugins/colemak/colemak-less |