[smartparens] bind sp-indent-defun to M-'
This commit is contained in:
parent
18769a28b2
commit
a7bec1d10d
4
init.org
4
init.org
|
@ -24,7 +24,7 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
|
|||
;; Most if not all of these are translations of their earlier QWERTY bindings.
|
||||
(general-def
|
||||
"M-h" 'default-indent-new-line ;; see also org-mode
|
||||
"M-'" 'sp-indent-defun
|
||||
"M-'" 'fill-paragraph
|
||||
"C-j" 'ctl-x-map
|
||||
"M-n M-n" 'font-lock-fontify-block
|
||||
;; basic Modifier-based editing commands
|
||||
|
@ -2379,6 +2379,8 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
|
|||
(add-to-list 'sp-no-reindent-after-kill-modes 'markdown-mode)
|
||||
:bind
|
||||
(("M-<up>" . sp-splice-sexp-killing-backward)
|
||||
:map prog-mode-map
|
||||
("M-'" . sp-indent-defun)
|
||||
:map smartparens-mode-map
|
||||
("C-)" . sp-forward-slurp-sexp)
|
||||
("C-(" . sp-backward-slurp-sexp)
|
||||
|
|
Loading…
Reference in New Issue