aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-06 03:03:08 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit482260abcdb7806c1fd68bd70100efa1c60dd303 (patch)
treea9ab854f7c61f330edb8d340dd46750d570748d2 /zsh
parentf64318a998b14c7e7fdfd54574cbff5ebc2398e1 (diff)
downloaddotfiles-482260abcdb7806c1fd68bd70100efa1c60dd303.tar.xz
zsh/keybindings: Don't skip over /
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/keybindings.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh
index 2db2966..fb2b94a 100644
--- a/zsh/keybindings.zsh
+++ b/zsh/keybindings.zsh
@@ -15,6 +15,12 @@ zle -N zle-line-init
zle -N zle-line-finish
zle -N edit-command-line
+
+# Don't skip over / in e.g. paths
+# <http://zshwiki.org/home/zle/bindkeys>
+export WORDCHARS="${WORDCHARS:s#/#}"
+
+
bindkey -v
# Shift-tab