diff options
-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) |