Let's say I just completed following path using Ctrl-x, Ctrl-f
(twice) and I haven't exited the Ctrl-x
mode yet and I got
/home/john.doe/
Let's say I chose john.doe
accidentally and actually want to go back to /home
to finally go to
/home/jane.doe/
Is there a way to undo the last e.g. Ctrl-f action without losing the whole path (i.e without losing /home
here)?
To elaborate why I'm asking: If we exit with e.g. Ctrl-y and then use u, the whole path will be removed. So in theory one could exit after every completion, but that seems rather cumbersome.
Ctrl-e
? That will abort the completion, without inserting any of the completion optionsjohn.doe
in the example above, but it wouldn't work forhome
after that), right?Ctrl-e
only cancels the current completion, it does not undo the completion, unfortunately.