From 3e14507c0c0149ae7b45c5243d23f484327f7348 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 26 Dec 2019 10:49:20 +0000 Subject: [PATCH] added keybindings to smartparens --- init.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index db44db4..54e2aee 100644 --- a/init.org +++ b/init.org @@ -692,8 +692,20 @@ Manage projects and jump quickly between its files (use-package smartparens :ensure t :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-" . sp-slice-sexp-killing-backward) + ("C-S-" . sp-slice-sexp-killing-around) + ("C-]" . sp-select-next-thing-exchange)) :config - (setq sp-show-pair-from-inside nil) + (setq sp-show-pair-from-inside nil + sp-escape-quotes-after-insert nil) (require 'smartparens-config)) #+END_SRC