Add C-)/( keyboard shortcuts for paredit mode.

This commit is contained in:
niten 2020-12-04 11:07:16 -06:00
parent ed65ca4881
commit 467c45705c
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@
(local-set-key (kbd "C-c }") 'paredit-forward-barf-sexp)
(local-set-key (kbd "C-c {") 'paredit-backward-barf-sexp)
(local-set-key (kbd "C-}") 'paredit-forward-barf-sexp)
(local-set-key (kbd "C-{") 'paredit-backward-barf-sexp))
(local-set-key (kbd "C-{") 'paredit-backward-barf-sexp)
(local-set-key (kbd "C-c )") 'paredit-forward-slurp-sexp)
(local-set-key (kbd "C-c (") 'paredit-backward-slurp-sexp)
(local-set-key (kbd "C-)") 'paredit-forward-slurp-sexp)
(local-set-key (kbd "C-(") 'paredit-backward-slurp-sexp))
(bind-hook-to-modes 'my-lisp-mode-hook *lisp-mode-hooks*)