Refactor def-setting!/set!; now evaluates its arguments on set!
This commit is contained in:
parent
5d1013d317
commit
f053980e85
6 changed files with 96 additions and 24 deletions
|
@ -14,7 +14,7 @@
|
|||
:commands git-gutter-mode
|
||||
:init (add-hook! (text-mode prog-mode conf-mode) 'git-gutter-mode)
|
||||
:config
|
||||
(set! :popup ("^\\*git-gutter.+\\*$" :regexp t :size 15 :noselect t))
|
||||
(set! :popup "^\\*git-gutter.+\\*$" :regexp t :size 15 :noselect t)
|
||||
|
||||
;; Update git-gutter on focus (in case I was using git externally)
|
||||
(add-hook 'focus-in-hook 'git-gutter:update-all-windows)
|
||||
|
@ -31,7 +31,7 @@
|
|||
(use-package! magit
|
||||
:commands magit-status
|
||||
:config
|
||||
(set! :popup ("^\\*magit.+" :regexp t))
|
||||
(set! :popup "^\\*magit.+" :regexp t)
|
||||
(after! evil-snipe
|
||||
;; evil-snipe conflicts with magit
|
||||
(add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode)))
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
(after! vc-annotate
|
||||
(set! :popup
|
||||
("*vc-diff*" :size 15 :noselect t)
|
||||
("*vc-change-log*" :size 15 :select t)
|
||||
(vc-annotate-mode :same t))
|
||||
'("*vc-diff*" :size 15 :noselect t)
|
||||
'("*vc-change-log*" :size 15 :select t)
|
||||
'(vc-annotate-mode :same t))
|
||||
|
||||
(set! :evil-state
|
||||
(vc-annotate-mode normal)
|
||||
(vc-git-log-view-mode normal))
|
||||
'(vc-annotate-mode normal)
|
||||
'(vc-git-log-view-mode normal))
|
||||
|
||||
(map! :map vc-annotate-mode-map
|
||||
:n "q" 'kill-this-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue