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
|
*** smartparens
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package smartparens
|
(use-package smartparens
|
||||||
:demand t
|
:demand t
|
||||||
:bind (:map smartparens-mode-map
|
:diminish smartparens-mode
|
||||||
("C-)" . sp-forward-slurp-sexp)
|
:bind (:map smartparens-mode-map
|
||||||
("C-}" . sp-forward-barf-sexp)
|
("C-)" . sp-forward-slurp-sexp)
|
||||||
("C-(" . sp-backward-slurp-sexp)
|
("C-}" . sp-forward-barf-sexp)
|
||||||
("C-{" . sp-backward-barf-sexp))
|
("C-(" . sp-backward-slurp-sexp)
|
||||||
:config
|
("C-{" . sp-backward-barf-sexp))
|
||||||
(progn
|
:config
|
||||||
(require 'smartparens-config)
|
(progn
|
||||||
(smartparens-global-mode 1)
|
(require 'smartparens-config)
|
||||||
(sp-use-smartparens-bindings)
|
(smartparens-global-mode 1)
|
||||||
(unbind-key "C-<backspace>" smartparens-mode-map)
|
(sp-use-smartparens-bindings)
|
||||||
(unbind-key "M-<backspace>" smartparens-mode-map)))
|
(unbind-key "C-<backspace>" smartparens-mode-map)
|
||||||
|
(unbind-key "M-<backspace>" smartparens-mode-map)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** multiple-cursors
|
*** multiple-cursors
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user