Change `SPC j C` to `SPC j (` to jump to fist unbalanced parens

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

View File

@ -1009,7 +1009,7 @@ Other:
- =spacemacs-theme-org-height=
(thanks to Dominik Schrempf)
- Key bindings (thanks to bb2020)
- ~SPC-j-C~ to =check-parens=
- ~SPC j (~ to =check-parens=
- ~SPC-,~ to =goto-last-change=
- Excluded =fundamental-mode= from =spacemacs/check-large-file=
(thanks to Alexander Miller)

View File

@ -2150,10 +2150,10 @@ The ~SPC j~ prefix is for jumping, joining and splitting.
| Key binding | Description |
|-------------+-----------------------------------------------------------------------------------|
| ~SPC j 0~ | go to the beginning of line (and set a mark at the previous location in the line) |
| ~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 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 f~ | jump to the definition of an Emacs Lisp function |
| ~SPC j i~ | jump to a definition in buffer (imenu) |

View File

@ -292,9 +292,9 @@
"ij" 'spacemacs/evil-insert-line-below)
;; format ---------------------------------------------------------------------
(spacemacs/set-leader-keys
"jo" 'open-line
"jC" 'check-parens
"j(" 'check-parens
"j=" 'spacemacs/indent-region-or-buffer
"jo" 'open-line
"jS" 'spacemacs/split-and-new-line
"jk" 'spacemacs/evil-goto-next-line-and-indent)