Add join and split sexp smartparens keybindings
This commit is contained in:
parent
7e1a58c7a0
commit
2d9e5bd1f0
1 changed files with 3 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue