From e0683c14a107e4184f988de2fde5f2c3ecb5dfea Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Mon, 29 Apr 2019 14:34:53 -0400 Subject: Add keybindings for 'sp-up-sexp and 'sp-backward-down-sexp --- jakob.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'jakob.org') diff --git a/jakob.org b/jakob.org index dd0d3e5..dcc35fe 100644 --- a/jakob.org +++ b/jakob.org @@ -1964,7 +1964,18 @@ Rebind the default keys for manipulating sexps to the alternatives suggested in ("C-M-t" . sp-transpose-sexp) ("C-M-k" . sp-kill-sexp) - ("M-k" . sp-backward-kill-sexp))) + ("M-k" . sp-backward-kill-sexp)) +#+END_SRC + +The following mask =split-line= and =completion-at-point=, respectively, but I have +yet to use either of these, so I don't mind using the keys for Smartparens. I +use "o" as a mnemonic for "out", and "i" is a mnemonic for "in". + +#+BEGIN_SRC elisp + :bind + (:map smartparens-mode-map + ("C-M-o" . sp-up-sexp) + ("C-M-i" . sp-backward-down-sexp))) #+END_SRC * Programming Languages -- cgit v1.3