diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-04-05 16:26:32 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-04-05 16:27:04 -0400 |
commit | ad8a9a3d94c3553d59e3d4ad2b99580d8d395c21 (patch) | |
tree | 7f59a4ee3e31e074264417ddaf879c536ef42cc3 | |
parent | e158f7f14b061eb731ea44ddac1f09f1008380de (diff) | |
download | emacs.d-ad8a9a3d94c3553d59e3d4ad2b99580d8d395c21.tar.gz |
Install lispy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Cask | 1 | ||||
-rw-r--r-- | lisp/init-elisp.el | 16 |
3 files changed, 3 insertions, 15 deletions
@@ -15,3 +15,4 @@ bookmarks /.cask /.custom.el /server +/semanticdb @@ -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) |