felix
felix copied to clipboard
Backspace to go to the parent directory?
At this moment Backspace
toggles whether to show hidden files/directories, but it might be more intuitive to use the key to go to the parent directory, in addtion to h
and Left
.
In this case I wonder which key should be used to hide/show hidden items.
@kyoheiu I can't speak for others but I personally think the full stop key "." would be a good suit?
Thanks for your input!
That makes sense. But .
is too strong in the Vim context, so I think it should be reserved for the future use.
Thanks for your input! That makes sense. But
.
is too strong in the Vim context, so I think it should be reserved for the future use.
Oh true! Completely forgot .
repeats your last action... You could possibly do a combination of keys? ctrl + h
or something similar? That way you make it explicit that this is not a natural vim bind?
@kyoheiu Just my thoughts.
-
gh would be natural combo to hide/show hidden items as an old-school
netrw
user. Supporting multi-key shortcut might be a tedious (or serious?) task, though. From:help netrw-hide
:As a quick shortcut, one may press gh to toggle between hiding files which begin with a period (dot) and not hiding them.
- Another in my mind is Shift-Command-., as a macOS (Finder.app) user.
I also hope that I can define my own keymaps (including the one for toggling hidden items.)