summaryrefslogtreecommitdiff
path: root/plugins/dirhistory
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2018-02-08 11:10:56 -0700
committerTuowen Zhao <ztuowen@gmail.com>2018-02-08 11:10:56 -0700
commitb7b623d6de696b81d213ec666d072851561d5c06 (patch)
tree996eeb851a9be04c351c4067ed6608c17c8164e8 /plugins/dirhistory
parentb388fd7fdaccf2875cb5ef58c100dd7634b74bc3 (diff)
parent37c2d0ddd751e15d0c87a51e2d9f9849093571dc (diff)
downloadzsh-b7b623d6de696b81d213ec666d072851561d5c06.tar.gz
zsh-b7b623d6de696b81d213ec666d072851561d5c06.tar.bz2
zsh-b7b623d6de696b81d213ec666d072851561d5c06.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/dirhistory')
-rw-r--r--plugins/dirhistory/dirhistory.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dirhistory/dirhistory.plugin.zsh b/plugins/dirhistory/dirhistory.plugin.zsh
index 0209981e3..8138872bc 100644
--- a/plugins/dirhistory/dirhistory.plugin.zsh
+++ b/plugins/dirhistory/dirhistory.plugin.zsh
@@ -119,6 +119,8 @@ zle -N dirhistory_zle_dirhistory_back
# xterm in normal mode
bindkey "\e[3D" dirhistory_zle_dirhistory_back
bindkey "\e[1;3D" dirhistory_zle_dirhistory_back
+# Mac teminal (alt+left/right)
+bindkey "^[b" dirhistory_zle_dirhistory_back
# Putty:
bindkey "\e\e[D" dirhistory_zle_dirhistory_back
# GNU screen:
@@ -127,6 +129,7 @@ bindkey "\eO3D" dirhistory_zle_dirhistory_back
zle -N dirhistory_zle_dirhistory_future
bindkey "\e[3C" dirhistory_zle_dirhistory_future
bindkey "\e[1;3C" dirhistory_zle_dirhistory_future
+bindkey "^[f" dirhistory_zle_dirhistory_future
bindkey "\e\e[C" dirhistory_zle_dirhistory_future
bindkey "\eO3C" dirhistory_zle_dirhistory_future