Skip to content

Instantly share code, notes, and snippets.

@tomjack

tomjack/init.el Secret

Created May 8, 2010 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomjack/28fb1aa24fcbe06e25ca to your computer and use it in GitHub Desktop.
Save tomjack/28fb1aa24fcbe06e25ca to your computer and use it in GitHub Desktop.
(require 'paredit)
(define-key paredit-mode-map (kbd "M-[") 'paredit-wrap-square)
(define-key paredit-mode-map (kbd "M-{") 'paredit-wrap-curly)
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code." t)
(add-hook 'clojure-mode-hook (lambda () (paredit-mode +1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment