Mostly improving fzf tab on-word complete

This commit is contained in:
Jonathan Hodgson 2020-05-08 20:42:26 +01:00
parent ac48d66ff8
commit f2251d9af5
4 changed files with 151 additions and 188 deletions

View file

@ -79,3 +79,13 @@ function fg-bg() {
}
zle -N fg-bg
bindkey '^Z' fg-bg
rationalise-dot() {
if [[ $LBUFFER = *.. ]]; then
LBUFFER+=/..
else
LBUFFER+=.
fi
}
zle -N rationalise-dot
bindkey . rationalise-dot