5 ms·
Up-up-Ctrl+K to kill the line; down to go down one in the history; end to go to end of line; `; and` or ` &&` to join the commands; ctrl+Y to yank the line from
by cookiecaper 5y ago
Up-up-Ctrl+K to kill the line; down to go down one in the history; end to go to end of line; `; and` or ` &&` to join the commands; ctrl+Y to yank the line from the killring. [0]
Seems to work in bash too, fwiw.
[0] https://fishshell.com/docs/current/interactive.html#copy-and-paste-kill-ring https://fishshell.com/docs/current/interactive.html#copy-and...