diff options
author | Tom Willemse | 2013-07-03 00:11:21 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-03 00:11:21 +0200 |
commit | 2d9e5bd1f0b6609d755bd627dd0cccf956d53a0b (patch) | |
tree | b48846060869925bd9cc6cfb771081f8c460d558 /emacs | |
parent | 7e1a58c7a0179880e9b1c42f6d11f98ebee85941 (diff) | |
download | dotfiles-2d9e5bd1f0b6609d755bd627dd0cccf956d53a0b.tar.gz dotfiles-2d9e5bd1f0b6609d755bd627dd0cccf956d53a0b.zip |
Add join and split sexp smartparens keybindings
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 3d14604..6f32baa 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -186,7 +186,9 @@ Also change directories to current working directory." (local-set-key [remap kill-word] 'sp-kill-word) (local-set-key [remap backward-kill-word] 'sp-backward-kill-word) (local-set-key (kbd "<C-left>") 'sp-forward-barf-sexp) - (local-set-key (kbd "<C-right>") 'sp-forward-slurp-sexp)) + (local-set-key (kbd "<C-right>") 'sp-forward-slurp-sexp) + (local-set-key (kbd "M-J") 'sp-join-sexp) + (local-set-key (kbd "M-S") 'sp-split-sexp)) (defun turn-off (modes) "Turn off each mode in MODES." |