rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.09k stars 176 forks source link

Please consider easier to type default keybindings for cargo actions #491

Open grothesque opened 1 year ago

grothesque commented 1 year ago

The default keybindings for running cargo actions are

When touch-typing, these are quite difficult to type, requiring first using one Ctrl-key and then the other.

While it is common among Emacs modes to use C-c C-c for "finishing" or "building" something, I am not aware of a tradition of continuing with C-<letter> after the prefix. Nor seems there to be such a necessity, since any key binding after the C-c C-c prefix is still free.

How about redefining the above such that a simple letter chooses the action, for example:

I am aware that anyone may redefine keybindings, and this is what I did. I am signalling this here because I believe that a good default configuration is valuable.