From 4903db036d7342be7efbe0c6bd6978ad4873c1a3 Mon Sep 17 00:00:00 2001 From: Carlos Pita Date: Mon, 4 Oct 2021 18:12:58 -0300 Subject: [PATCH] tweak(default): improve smartparens vanilla bindings Make bindings better conform to traditional sexp navigation ones. Fix #5575 --- modules/config/default/+emacs-bindings.el | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/modules/config/default/+emacs-bindings.el b/modules/config/default/+emacs-bindings.el index 1808c7185..910af7886 100644 --- a/modules/config/default/+emacs-bindings.el +++ b/modules/config/default/+emacs-bindings.el @@ -613,13 +613,17 @@ ;;; smartparens (:after smartparens :map smartparens-mode-map - "C-M-a" #'sp-beginning-of-sexp - "C-M-e" #'sp-end-of-sexp - "C-M-f" #'sp-forward-sexp - "C-M-b" #'sp-backward-sexp - "C-M-d" #'sp-splice-sexp - "C-M-k" #'sp-kill-sexp - "C-M-t" #'sp-transpose-sexp) + "C-M-a" #'sp-beginning-of-sexp + "C-M-e" #'sp-end-of-sexp + "C-M-f" #'sp-forward-sexp + "C-M-b" #'sp-backward-sexp + "C-M-n" #'sp-next-sexp + "C-M-p" #'sp-previous-sexp + "C-M-u" #'sp-up-sexp + "C-M-d" #'sp-down-sexp + "C-M-k" #'sp-kill-sexp + "C-M-t" #'sp-transpose-sexp + "C-M-" #'sp-splice-sexp) ;;; treemacs (:when (featurep! :ui treemacs)