summaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-03-14 12:19:47 +0100
committerGravatar Tom Willemse2016-03-14 12:19:47 +0100
commit1eb2864451605aa715394bb8696d6a77c9227c2c (patch)
treedb0ba765c8cd4de657c38c3c05bc869bf9a29908 /zsh
parent6c37b01bcb98c436f052451f2c16979a5298f1db (diff)
downloaddotfiles-1eb2864451605aa715394bb8696d6a77c9227c2c.tar.gz
dotfiles-1eb2864451605aa715394bb8696d6a77c9227c2c.zip
Set C-x b to change to the previous directory
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 1c3b612..e06b3c5 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -113,6 +113,7 @@ bindkey "\e[5D" backward-word
bindkey "\e0d" emacs-backward-word
bindkey "\e\e[C" forward-word
bindkey "\e\e[D" backward-word
+bindkey -s "^Xb" $'cd -\n'
## for rxvt
bindkey "\e[8~" end-of-line
bindkey "\e[7~" beginning-of-line