summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-04-05 16:26:32 -0400
committerKyle Meyer <kyle@kyleam.com>2015-04-05 16:27:04 -0400
commitad8a9a3d94c3553d59e3d4ad2b99580d8d395c21 (patch)
tree7f59a4ee3e31e074264417ddaf879c536ef42cc3
parente158f7f14b061eb731ea44ddac1f09f1008380de (diff)
downloademacs.d-ad8a9a3d94c3553d59e3d4ad2b99580d8d395c21.tar.gz
Install lispy
-rw-r--r--.gitignore1
-rw-r--r--Cask1
-rw-r--r--lisp/init-elisp.el16
3 files changed, 3 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index daf9916..14a1fad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ bookmarks
/.cask
/.custom.el
/server
+/semanticdb
diff --git a/Cask b/Cask
index 2ff6279..4ff5df9 100644
--- a/Cask
+++ b/Cask
@@ -35,6 +35,7 @@
(depends-on "key-chord")
(depends-on "less-css-mode")
(depends-on "let-alist")
+(depends-on "lispy")
(depends-on "lua-mode")
(depends-on "markdown-mode")
(depends-on "mocker")
diff --git a/lisp/init-elisp.el b/lisp/init-elisp.el
index 8ec711d..a6cee16 100644
--- a/lisp/init-elisp.el
+++ b/lisp/init-elisp.el
@@ -1,18 +1,4 @@
-(autoload 'enable-paredit-mode "paredit"
- "Turn on pseudo-structural editing of Lisp code."
- t)
-
-(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode)
-
-(after 'paredit
- (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)
-
- ;; Don't let `paredit-splice-sexp' override default 'M-s' map.
- (define-key paredit-mode-map (kbd "M-s") nil)
- (define-key paredit-mode-map (kbd "M-p") 'paredit-splice-sexp))
+(add-hook 'emacs-lisp-mode-hook 'lispy-mode)
(provide 'init-elisp)