Add bindings for goto-last-change and check-parens

This commit is contained in:
bb2020 2019-05-18 22:40:39 +03:00 committed by smile13241324
parent 3ddd99d92c
commit e1cde25da6
3 changed files with 8 additions and 1 deletions

View file

@ -984,6 +984,9 @@ Other:
- =spacemacs-theme-comment-bg= - =spacemacs-theme-comment-bg=
- =spacemacs-theme-org-height= - =spacemacs-theme-org-height=
(thanks to Dominik Schrempf) (thanks to Dominik Schrempf)
- Key bindings (thanks to bb2020)
- ~SPC-j-C~ to =check-parens=
- ~SPC-,~ to =goto-last-change=
*** Layer changes and fixes *** Layer changes and fixes
**** Alda **** Alda
- Key bindings: - Key bindings:
@ -1928,6 +1931,7 @@ Other:
- Replace ox-reveal with org-re-reveal (thanks to Magnus Therning) - Replace ox-reveal with org-re-reveal (thanks to Magnus Therning)
- Added epub support (thanks to vishvanath45) - Added epub support (thanks to vishvanath45)
- Added support for CUSTOM_ID in latex exports (thanks to Compro-Prasad) - Added support for CUSTOM_ID in latex exports (thanks to Compro-Prasad)
- Added ~SPC m i L~ as =org-cliplink= into =org= layer (thanks to bb2020)
**** Osx **** Osx
- Fixed OSX mapping issue (thanks to Joey Liu) - Fixed OSX mapping issue (thanks to Joey Liu)
- Added layer variables to customize modifier behaviors on macOS: - Added layer variables to customize modifier behaviors on macOS:
@ -2185,7 +2189,6 @@ Other:
- Moved =eshell-z-freq-dir-hash-table-file-name= into cache dir - Moved =eshell-z-freq-dir-hash-table-file-name= into cache dir
(thanks to bb2020) (thanks to bb2020)
- Enabled ~TAB~ completion in =eshell= with =Helm= (thanks to bb2020) - Enabled ~TAB~ completion in =eshell= with =Helm= (thanks to bb2020)
- Added ~SPC m i L~ as =org-cliplink= into =org= layer (thanks to bb2020)
- Added =eshell= =Ivy= completion bindings (thanks to bb2020): - Added =eshell= =Ivy= completion bindings (thanks to bb2020):
- ~M-l~ =spacemacs/ivy-eshell-history= - ~M-l~ =spacemacs/ivy-eshell-history=
- ~TAB~ =spacemacs/pcomplete-std-complete= - ~TAB~ =spacemacs/pcomplete-std-complete=

View file

@ -2143,6 +2143,7 @@ The ~SPC j~ prefix is for jumping, joining and splitting.
| ~SPC j $~ | go to the end of line (and set a mark at the previous location in the line) | | ~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 b~ | undo a jump (go back to previous location) |
| ~SPC j d~ | jump to a listing of the current directory | | ~SPC j d~ | jump to a listing of the current directory |
| ~SPC j C~ | jump to first unbalanced parentheses |
| ~SPC j D~ | jump to a listing of the current directory (other window) | | ~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 | | ~SPC j f~ | jump to the definition of an Emacs Lisp function |
| ~SPC j i~ | jump to a definition in buffer (imenu) | | ~SPC j i~ | jump to a definition in buffer (imenu) |

View file

@ -132,6 +132,8 @@
'universal-argument-more)) 'universal-argument-more))
;; shell command ------------------------------------------------------------- ;; shell command -------------------------------------------------------------
(spacemacs/set-leader-keys "!" 'shell-command) (spacemacs/set-leader-keys "!" 'shell-command)
;; last change ---------------------------------------------------------------
(spacemacs/set-leader-keys "," 'goto-last-change)
;; applications --------------------------------------------------------------- ;; applications ---------------------------------------------------------------
(spacemacs/set-leader-keys (spacemacs/set-leader-keys
"ac" 'calc-dispatch "ac" 'calc-dispatch
@ -287,6 +289,7 @@
;; format --------------------------------------------------------------------- ;; format ---------------------------------------------------------------------
(spacemacs/set-leader-keys (spacemacs/set-leader-keys
"jo" 'open-line "jo" 'open-line
"jC" 'check-parens
"j=" 'spacemacs/indent-region-or-buffer "j=" 'spacemacs/indent-region-or-buffer
"jS" 'spacemacs/split-and-new-line "jS" 'spacemacs/split-and-new-line
"jk" 'spacemacs/evil-goto-next-line-and-indent) "jk" 'spacemacs/evil-goto-next-line-and-indent)