diff options
author | dx <aryadevchavali1@gmail.com> | 2020-04-15 04:38:22 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-04-15 04:38:22 +0100 |
commit | 9934ab0f358ce8f13bc8e4fde6292fcd8844d04b (patch) | |
tree | 7d4b3ef3fb989b35f5e160ec5872215c09f338e7 /zshrc | |
parent | c7917c27b7a126fe1aebe5761aba38486c81b78a (diff) | |
download | dotfiles-9934ab0f358ce8f13bc8e4fde6292fcd8844d04b.tar.gz dotfiles-9934ab0f358ce8f13bc8e4fde6292fcd8844d04b.tar.bz2 dotfiles-9934ab0f358ce8f13bc8e4fde6292fcd8844d04b.zip |
~moved menu vim binds to correct section
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -50,6 +50,12 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,' ## Vim binds bindkey -v +# Menu +bindkey -M menuselect 'h' vi-backward-char +bindkey -M menuselect 'j' vi-up-line-or-history +bindkey -M menuselect 'k' vi-down-line-or-history +bindkey -M menuselect 'l' vi-forward-char + # Cursor function zle-keymap-select { if [[ ${KEYMAP} == vicmd ]] || @@ -72,12 +78,6 @@ zle -N zle-line-init echo -ne '\e[5 q' # Use beam shape cursor on startup. preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. -# Menu -bindkey -M menuselect 'h' vi-backward-char -bindkey -M menuselect 'j' vi-up-line-or-history -bindkey -M menuselect 'k' vi-down-line-or-history -bindkey -M menuselect 'l' vi-forward-char - ## Programming editor() { nohup emacs $@ > /dev/null & |