diff options
author | Alex Whitt | 2017-06-05 07:17:53 -0400 |
---|---|---|
committer | Alex Whitt | 2017-06-05 07:17:53 -0400 |
commit | b44fff0994a0ddc0bc9397d93e547acc74d5e56c (patch) | |
tree | f939fc56080e778db10523337af93df65aee9905 /emacs-evil-lispy.install | |
download | aur-emacs-evil-lispy.tar.gz |
Initial commit
Diffstat (limited to 'emacs-evil-lispy.install')
-rw-r--r-- | emacs-evil-lispy.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/emacs-evil-lispy.install b/emacs-evil-lispy.install new file mode 100644 index 000000000000..dc71c02d06ea --- /dev/null +++ b/emacs-evil-lispy.install @@ -0,0 +1,26 @@ +post_install () { + +cat << EOF + +==> Add this code to your .emacs file to use the mode: + +(require 'evil-lispy) + +==> Then, for any modes for which you want to activate lispy: + +(add-hook 'emacs-lisp-mode-hook (lambda () (evil-lispy-mode 1))) +(add-hook 'clojure-mode-hook (lambda () (evil-lispy-mode 1))) + +==> Or do the above with use-package: + +(use-package evil-lispy + :config + (add-hook 'emacs-lisp-mode-hook (lambda () (evil-lispy-mode 1))) ; For Elisp + (add-hook 'clojure-mode-hook (lambda () (evil-lispy-mode 1)))) ; For Clojure + +EOF +} + +post_upgrade () { + post_install $1 +} |