Open ravinggenius opened 5 years ago
Stage/unstage/discard operation for directories is very important in daily routine. It is very convenient and also fast.
I think we should not introduce a feature which makes directory operations less accessible.
Understood. What about a modifier like ⌘[up]
/⌘[down]
? I don't think those combinations are currently assigned.
In the past I thought about implementing a navigation like you proposed, but I couldn't find a way to do it nicely.
Cmd+Up/Cmd+Down are used in Finder as Go To Parent/Run. I think using them in other way will be confusing.
@ravinggenius why can't you toggle on "View as List"? It hides all directories and Up/Down always switches between files.
@serhiipalash I've considered that, but the list view truncates the file names, so I prefer the tree view.
but the list view truncates the file names
Hm, then what you need to ask is a third type of View
for Unstaged Files
, maybe something like View as Files
.
I love the tree view for listing files, but the directories get in the way when browsing files with
[up]
/[down]
keyboard keys. This is especially frustrating when browsing files with the side-by-side diff window open, as I cannot see that a directory is selected instead of a file. Since directories have no diff, can they simply be skipped?As I write this I realized that skipping directories would make it impossible to collapse/expand them with the keyboard. Personally I would still prefer to just skip directories, but if collapse/expand via keyboard is important, would you consider a setting or keyboard modifier to allow skipping directories?