I use ido-mode
for finding files and directories, which is generally very efficient in terms of keystrokes.
The one annoyance I've found is when deleting the trailing pathname component when using ido-find-file
. E.g., if the minibuffer contains /some/long/directory/path/and.some.long.file.name
, I would like to quickly delete and.some.long.file.name
with a single keystroke. It seems hard to believe that this isn't built-in, but if so I haven't found the keybinding for it.
Is there a quick way to erase the trailing file name, or another efficient way of dealing with this?