Browse Source

added keybindings to smartparens

master
Marc 4 years ago
parent
commit
3e14507c0c
1 changed files with 13 additions and 1 deletions
  1. 14
      init.org

14
init.org

@ -692,8 +692,20 @@ Manage projects and jump quickly between its files
(use-package smartparens (use-package smartparens
:ensure t :ensure t
:diminish smartparens-mode :diminish smartparens-mode
:bind
(:map smartparens-mode-map
("C-M-f" . sp-forward-sexp)
("C-M-b" . sp-backward-sexp)
("C-M-a" . sp-backward-down-sexp)
("C-M-e" . sp-up-sexp)
("C-M-w" . sp-copy-sexp)
("M-k" . sp-kill-sexp)
("C-M-<backspace>" . sp-slice-sexp-killing-backward)
("C-S-<backspace>" . sp-slice-sexp-killing-around)
("C-]" . sp-select-next-thing-exchange))
:config :config
(setq sp-show-pair-from-inside nil)
(setq sp-show-pair-from-inside nil
sp-escape-quotes-after-insert nil)
(require 'smartparens-config)) (require 'smartparens-config))
#+END_SRC #+END_SRC

Loading…
Cancel
Save