Skip to content

Commit

Permalink
Add tty-friendly paredit slurp binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jan 7, 2010
1 parent c0b7ae5 commit 1c8f12e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions starter-kit-lisp.el
Expand Up @@ -68,8 +68,9 @@

;;; Enhance Lisp Modes

(eval-after-load 'paredit
'(define-key paredit-mode-map (kbd ";") 'self-insert-command))
(eval-after-load 'paredit-mode
;; need a binding that works over SSH
(define-key paredit-mode-map (kbd "M-)") 'paredit-forward-slurp-sexp))

(dolist (x '(scheme emacs-lisp lisp clojure))
(font-lock-add-keywords
Expand All @@ -83,4 +84,4 @@
(run-coding-hook))))

(provide 'starter-kit-lisp)
;; starter-kit-lisp.el ends here
;; starter-kit-lisp.el ends here

0 comments on commit 1c8f12e

Please sign in to comment.