summarylogtreecommitdiffstats
path: root/emacs-evil-magit.install
blob: c4060f74c030f796c1b9ed0b7ec2a8f0af345cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
post_install () {

cat << EOF

==> Add this code to your .emacs file to use the mode:

(require 'evil-magit)
(setq evil-magit-state 'normal) ; This is probably default

==> Optional: disable additional bindings for yanking text
(setq evil-magit-use-y-for-yank nil) ; This might also be default

==> Or, with use-package:

(use-package evil-magit
  :config
  (setq evil-magit-state 'normal)
  (setq evil-magit-use-y-for-yank nil)) ; For yank bindings

EOF
}

post_upgrade () {
	post_install $1
}