summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-04-29 14:34:53 -0400
committerJakob L. Kreuze2019-04-29 14:34:53 -0400
commite0683c14a107e4184f988de2fde5f2c3ecb5dfea (patch)
treea64356d8c3c04c530b1adb15d8c8ff8be7fafac6 /jakob.org
parent44d6f68b2debe0fe9506c9310feb101da184d2d0 (diff)
Add keybindings for 'sp-up-sexp and 'sp-backward-down-sexp
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org13
1 files changed, 12 insertions, 1 deletions
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

© 2015 - 2026 Jakob L. Kreuze