mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 20:40:58 +01:00
get rid of electric pair mode, using sp-up-sexp now
This commit is contained in:
@@ -48,8 +48,8 @@ Used when enabling smartparens-mode."
|
|||||||
(add-something-to-mode-hooks
|
(add-something-to-mode-hooks
|
||||||
'(rust emacs-lisp ielm lisp elisp lisp-interaction scheme slime-repl ) 'smartparens-mode)
|
'(rust emacs-lisp ielm lisp elisp lisp-interaction scheme slime-repl ) 'smartparens-mode)
|
||||||
|
|
||||||
(add-something-to-mode-hooks
|
;; (add-something-to-mode-hooks
|
||||||
'(emacs-lisp ielm lisp elisp lisp-interaction scheme slime-repl ) 'electric-pair-mode)
|
;; '(emacs-lisp ielm lisp elisp lisp-interaction scheme slime-repl ) 'electric-pair-mode)
|
||||||
|
|
||||||
;; also in some select prog modes
|
;; also in some select prog modes
|
||||||
;; (add-something-to-mode-hooks
|
;; (add-something-to-mode-hooks
|
||||||
@@ -194,6 +194,9 @@ _k_: kill (C-k) _s_: split _{_: wrap with { }
|
|||||||
;; comment the whole sexp
|
;; comment the whole sexp
|
||||||
(";" . 'tvd-lisp-comment)
|
(";" . 'tvd-lisp-comment)
|
||||||
|
|
||||||
|
;; move up closing parens
|
||||||
|
(")" . #'sp-up-sexp)
|
||||||
|
|
||||||
;; replace my global setting
|
;; replace my global setting
|
||||||
;; FIXME: fhceck/fix M<up+down>!
|
;; FIXME: fhceck/fix M<up+down>!
|
||||||
("M-<right>" . 'sp-forward-symbol)
|
("M-<right>" . 'sp-forward-symbol)
|
||||||
|
|||||||
Reference in New Issue
Block a user