fish-shell/share/functions/nextd-or-forward-word.fish

9 lines
136 B
Fish

function nextd-or-forward-word
if test -z (commandline)
nextd
commandline -f repaint
else
commandline -f forward-word
end
end