diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-06 03:03:08 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | 482260abcdb7806c1fd68bd70100efa1c60dd303 (patch) | |
tree | a9ab854f7c61f330edb8d340dd46750d570748d2 /zsh | |
parent | f64318a998b14c7e7fdfd54574cbff5ebc2398e1 (diff) | |
download | dotfiles-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.zsh | 6 |
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 |