From c4023f341663e0258038ff1c7339cade565040b9 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Mon, 29 Aug 2022 09:40:55 -0700 Subject: [PATCH] Replace vc-revert with magit-file-revert A quick way to abandon code changes that might have been committed. --- ha-config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ha-config.org b/ha-config.org index 6984868..1e40b23 100644 --- a/ha-config.org +++ b/ha-config.org @@ -487,7 +487,6 @@ The [[https://github.com/PythonNut/evil-easymotion][evil-easymotion]] project co :config (evilem-default-keybindings "")) #+end_src My ~F19~ key is within easy reach of my [[https://configure.zsa.io/moonlander/layouts/L4laD/latest/0][Moonlander configuration]], so this might be a good, if somewhat distracting, feature. Perhaps a better solution is to use [[Jump with Avy][avy]] (see below). - ** General Leader Key Sequences The one thing that both Spacemacs and Doom taught me, is how much I like the /key sequences/ that begin with a leader key. In both of those systems, the key sequences begin in the /normal state/ with a space key. This means, while typing in /insert state/, I have to escape to /normal state/ and then hit the space. @@ -1466,6 +1465,7 @@ Can not live without [[https://magit.vc/][Magit]], a Git porcelain for Emacs. I "g C" '("Magit clone" . magit-clone) "g F" '("Magit fetch" . magit-fetch) "g L" '("Magit buffer log" . magit-log-buffer-file) + "g r" '("Revert file" . magit-file-checkout) "g R" '("Revert file" . vc-revert) "g S" '("Git stage file" . magit-stage-file) "g U" '("Git unstage file" . magit-unstage-file)