-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Add "Cycle collection kind" command #2464
Comments
Ah, I was not aware of the rewrap commands! I actually think that may be a better option. The only (but big) upside of a single command that is that you only need to bind (and remember) a single key. What is the rationale for "H" for the set? |
Since the cycle command can be expressed in terms of these commands, I think it is reasonable easy to implement.
Hash-sign 😄 |
Roger. I would perhaps prefer semantic keys, i.e 'm' for "map", 'v' fo "vector" etc, but nothing I can't tweak myself! |
Semantic mnemonics would have made perfect sense. Too late now, I'm afraid. As for why not |
Well, if you have an ergonomic keyboard with all modifers on your thumbs (a Kinesis advantage in my case) and a layout where 'r' and 'p' are on different hands (Dvorak layout in my case, but same for Qwerty in this case) it's less easy to type because you need to switch hands for the modifers! :) Come to think of it, that's probably why I find multi-stroke chorded key bindings onerous, unless you are lucky and there happens to be no hand-switching involved. I understand it's hard to please everyone and that's why keybindings are customizable, but this is why something like "ctrl+alt+r p" is more convenient in my opinion. |
It is often handy to change the kind of balanced brackets you are working with, i.e.
(foo bar)
=>[foo bar]
.Some Clojure editors have such a command. Typical candidates are: () => [] => {} => #{} (and then back over again).
Should work on the expression's closest enclosing brackets
The text was updated successfully, but these errors were encountered: