forked from colonelpanic/dotfiles
Diminish smartparens-mode and reindent its config
This commit is contained in:
parent
f8ec571425
commit
be846bad55
@ -1674,19 +1674,20 @@ I use helm for almost all emacs completion
|
||||
*** smartparens
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package smartparens
|
||||
:demand t
|
||||
:bind (:map smartparens-mode-map
|
||||
("C-)" . sp-forward-slurp-sexp)
|
||||
("C-}" . sp-forward-barf-sexp)
|
||||
("C-(" . sp-backward-slurp-sexp)
|
||||
("C-{" . sp-backward-barf-sexp))
|
||||
:config
|
||||
(progn
|
||||
(require 'smartparens-config)
|
||||
(smartparens-global-mode 1)
|
||||
(sp-use-smartparens-bindings)
|
||||
(unbind-key "C-<backspace>" smartparens-mode-map)
|
||||
(unbind-key "M-<backspace>" smartparens-mode-map)))
|
||||
:demand t
|
||||
:diminish smartparens-mode
|
||||
:bind (:map smartparens-mode-map
|
||||
("C-)" . sp-forward-slurp-sexp)
|
||||
("C-}" . sp-forward-barf-sexp)
|
||||
("C-(" . sp-backward-slurp-sexp)
|
||||
("C-{" . sp-backward-barf-sexp))
|
||||
:config
|
||||
(progn
|
||||
(require 'smartparens-config)
|
||||
(smartparens-global-mode 1)
|
||||
(sp-use-smartparens-bindings)
|
||||
(unbind-key "C-<backspace>" smartparens-mode-map)
|
||||
(unbind-key "M-<backspace>" smartparens-mode-map)))
|
||||
#+END_SRC
|
||||
*** multiple-cursors
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user