Permalink
Browse files

M-) for terminal paredit

  • Loading branch information...
1 parent cde0894 commit 4ba0da47e7cfcf712dd28b23ee261d696405f2cc @alandipert committed Apr 20, 2011
Showing with 8 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +7 −4 init.el
View
1 .gitignore
@@ -0,0 +1 @@
+*
View
11 init.el
@@ -37,8 +37,8 @@
(setq el-get-sources
'(el-get
- color-theme
elein
+ color-theme
auto-complete
ac-dabbrev
ac-slime
@@ -75,7 +75,9 @@
(add-hook 'clojure-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'lisp-mode-hook (lambda () (paredit-mode +1)))
- (add-hook 'lisp-interaction-mode-hook (lambda () (paredit-mode +1)))))
+ (add-hook 'lisp-interaction-mode-hook (lambda () (paredit-mode +1)))
+ ;; a binding that works in the terminal
+ (define-key paredit-mode-map (kbd "M-)") 'paredit-forward-slurp-sexp)))
(:name slime-repl :type elpa)
(:name clojure-mode :type elpa)
@@ -95,7 +97,8 @@
(lambda (x)
(and (not (string-match-p re x)) x)) lst)))))
;; remove built-in org-mode from load-path
- (setq load-path (funcall re-filter-list "org$" load-path)))))
+ (setq load-path (funcall re-filter-list "org$" load-path))
+ (define-key global-map "\C-ca" 'org-agenda))))
;; stuff from tailrecursion repo
(:name color-theme-miami-vice :type elpa)
@@ -212,4 +215,4 @@
;;
(global-set-key (kbd "C-+") 'increase-font-size)
-(global-set-key (kbd "C--") 'decrease-font-size)
+(global-set-key (kbd "C--") 'decrease-font-size)

0 comments on commit 4ba0da4

Please sign in to comment.