-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sane keybinds and switches #422
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
One idea: if |
I would recommend changing |
I did that in an intermediate check-in. There are several points against it:
We can have |
I was thinking
👍 |
Commit c1f168c |
I noticed a new keybinding and flag I simply noticed that Basically I'd like to propose to merge these two functions in one and remove |
The version sort algo in
|
Please stick to keybinds and options in this thread. I accidentally closed the issue thinking it was a new one. |
@0xACE, @KlzXS, @annagrram need your input on this one. We have to free the keybinds in the next release. |
I hope that means to freeze them, I'm still getting used to things moving around and keybinds seem to be magically changing every few weeks. I'm okay with keeping them as they are now, but do we maybe want to move range selection to something like Just throwing things out there. More than anything I think that the freeze needs to happen. |
Yes, this thread is meant to freeze the assigned keybinds. Range selection belongs to the group:
The
We support several archive formats by default (whatever's supported on a standard installation). I selected the
This is a very frequent operation. If you see, I have limited capital keybinds to infrequent operations. |
This makes the spacing look very bad. |
I have re-ordered the help. Please take a look: https://github.com/jarun/nnn/wiki/Usage#keyboard-and-mouse |
Physically separating them makes it more obvious, yes. I didn't realize that that's how they were grouped. They seem to make sense when you think about them for a second or two. |
@jarun I like the simplicity of the new keybinds, and personally can either get used to new sets or set my own keys, so I don't have a strong opinion on which key does what, as long as it has some logic that I can use when learning it. |
We owe this to end-users, who would only want to install and use the utility. If you see the popular terminal FMs are at least a decade old, |
I have changed the option |
I have added R abd ^T for reverse order. |
I keep the ^ shortcuts for people who use nav-as-you-type. ^ chars break away from filterentries(). |
We should rename "Order toggle". Maybe "Sort by"? |
"Sort by" is not bad, it helped to know that those keys are in fact toggles, i.e. if I select the same sort twice, it will be reversed. Maybe "Sort toggles"? |
Yes! |
How about ^F for file details? |
Both sound very intuitive for me, go for |
Cool! |
From nav-as-you-type mode, Shift keys are horrible. You have to Esc to come out and then press 2 more keys. ^ keys are as good as a single key. Looks like we don't have any compelling shift key anymore. |
Makes sense. I feel like "copy/move/delete sel" are so important operations that they absolutely must have Ctrl shortcuts as well, otherwise nav-as-you-type is not as powerful mode. Ideally we would assign |
Let's try! |
Delete entry needs a ^ key. What would it be? |
And plugin needs a ^ key too! I have to go to sleep now. 4 here. Think about these. |
There you go: #436 As a user I particularly like how even less keys there are now to remember when Ctrl keys use the same letter as regular mapping (e.g. |
I think we can settle with: D - file details |
Let's have: f ^F - file details |
I am pushing the changes. Please review. |
Please review commit 1b252b6. |
Nice catch about
Otherwise I think it already looks very very pleasant to me. 👍 |
We have to remove the entry that's deleted, so we need to reload the directory. Also there are other reasons, say there was a link to the file, that gets orphaned and so on. When you change the directory contents, we should always reload. If it helps, I don't end the selection so you can continue selecting. |
I can now see that I have no more suggestions for the key bindings, everything looks very reasonable to me. |
Same here! Fewer keybinds, quite meaningful... @annagrram @KlzXS please review the latest set of keybinds. We are making a release tomorrow. |
Current set:
|
Closing the defect. |
I spent a lot of time today on having some sanity in our keybinds & program switches. Came up with commit 146da59.
Keybinds: https://github.com/jarun/nnn/wiki/Usage#keyboard-and-mouse
Options: https://github.com/jarun/nnn/wiki/Usage#command-line-options
I need all of you to review this and suggest any further changes or discuss if you have anything in mind. From the next release these keys will be fixed.
The text was updated successfully, but these errors were encountered: