Change `SPC ,` to `SPC j c` to go to last change

This commit is contained in:
syl20bnr 2019-06-25 23:52:21 -04:00
parent 6ce974795e
commit f04ff9e837
3 changed files with 3 additions and 3 deletions

View File

@ -1010,7 +1010,7 @@ Other:
(thanks to Dominik Schrempf)
- Key bindings (thanks to bb2020)
- ~SPC j (~ to =check-parens=
- ~SPC-,~ to =goto-last-change=
- ~SPC j c~ to =goto-last-change=
- Excluded =fundamental-mode= from =spacemacs/check-large-file=
(thanks to Alexander Miller)
- Fixed copied dir/path not shown in minibuffer when =select-enable-clipboard=

View File

@ -2153,6 +2153,7 @@ The ~SPC j~ prefix is for jumping, joining and splitting.
| ~SPC j (~ | jump to first unbalanced parentheses |
| ~SPC j $~ | go to the end of line (and set a mark at the previous location in the line) |
| ~SPC j b~ | undo a jump (go back to previous location) |
| ~SPC j c~ | go to last change |
| ~SPC j d~ | jump to a listing of the current directory |
| ~SPC j D~ | jump to a listing of the current directory (other window) |
| ~SPC j f~ | jump to the definition of an Emacs Lisp function |

View File

@ -133,8 +133,6 @@
'universal-argument-more))
;; shell command -------------------------------------------------------------
(spacemacs/set-leader-keys "!" 'shell-command)
;; last change ---------------------------------------------------------------
(spacemacs/set-leader-keys "," 'goto-last-change)
;; applications ---------------------------------------------------------------
(spacemacs/set-leader-keys
"ac" 'calc-dispatch
@ -302,6 +300,7 @@
(spacemacs/set-leader-keys
"j0" 'spacemacs/push-mark-and-goto-beginning-of-line
"j$" 'spacemacs/push-mark-and-goto-end-of-line
"jc" 'goto-last-change
"jf" 'find-function
"jv" 'find-variable)