fish-shell/share/functions/prevd-or-backward-word.fish

9 lines
159 B
Fish

function prevd-or-backward-word
if test -z (commandline)
prevd
commandline -f repaint
else
commandline -f backward-word
end
end