diff options
| author | Jakob L. Kreuze | 2019-04-29 14:34:53 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-04-29 14:34:53 -0400 |
| commit | e0683c14a107e4184f988de2fde5f2c3ecb5dfea (patch) | |
| tree | a64356d8c3c04c530b1adb15d8c8ff8be7fafac6 /jakob.org | |
| parent | 44d6f68b2debe0fe9506c9310feb101da184d2d0 (diff) | |
Add keybindings for 'sp-up-sexp and 'sp-backward-down-sexp
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |