fish-shell/share/functions/nextd-or-forward-word.fish
2015-08-26 21:30:04 +02:00

10 lines
154 B
Fish

function nextd-or-forward-word
set -l cmd (commandline)
if test -z "$cmd"
nextd
commandline -f repaint
else
commandline -f forward-word
end
end