Re:GNU Emacs is on Bazaar now
by nuclear_eclipse on Monday December 28, 2009 @10:52AM
(#1018712)
Thank you. That's exactly the explanation I was looking for, and you're right; `C-x v` is much more reasonable as a hotkey for invoking vcs tasks, similar to git integration in Vim, <Leader>-g-c for commit, etc. I was just blown away imagining some superbly arcane key chord involving pressing and releasing control twice in a string of five letters... :P
[ Parent
| on HN ]
Re:GNU Emacs is on Bazaar now
by silentbicycle on Monday December 28, 2009 @12:44PM
(#1018942)
Specifically, "C-x v v" is C-x (extended commands), v (version control prefix), v ("next action": do the next logical step for the current buffer, usually committing).
C-c twice is used in several modes to mean "save and close out". It's also what you hit to send an e-mail you're composing, for example. Holding control and pressing c twice is pretty easy, just like whacking v twice for "next action". (C-c usually prefixes commands specific to the buffer's mode, such as "send the definition under the cursor to Python".)
If you ever forget any of this, you can type "C-x v" and then C-h (Help) and it will list all of the keyboard shortcuts prefixed by C-x v, i.e., all shortcuts related to version control. (I find VC shortcuts go straight to muscle memory, but just in case.)
What NikkiA says above about those five keystrokes being a 10 page wizard in other systems is spot-on.