summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-elisp.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init/km-elisp.el b/init/km-elisp.el
index b9d46e9..811fd37 100644
--- a/init/km-elisp.el
+++ b/init/km-elisp.el
@@ -3,3 +3,10 @@
t)
(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode)
+
+(eval-after-load "paredit"
+ '(progn
+ (define-key paredit-mode-map (kbd "C-,") 'paredit-forward-slurp-sexp)
+ (define-key paredit-mode-map (kbd "C-.") 'paredit-forward-barf-sexp)
+ (define-key paredit-mode-map (kbd "C-M-,") 'paredit-backward-slurp-sexp)
+ (define-key paredit-mode-map (kbd "C-M-.") 'paredit-backward-barf-sexp)))