From 482260abcdb7806c1fd68bd70100efa1c60dd303 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 6 Nov 2016 03:03:08 +0100 Subject: zsh/keybindings: Don't skip over / MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/keybindings.zsh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zsh') 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 +# +export WORDCHARS="${WORDCHARS:s#/#}" + + bindkey -v # Shift-tab -- cgit v1.2.3-54-g00ecf