General refactor for consistency & idempotency
Also updated comments
This commit is contained in:
parent
50401f6c09
commit
80adb9c1f6
17 changed files with 48 additions and 40 deletions
|
@ -11,10 +11,11 @@
|
|||
counsel-grep-post-action-hook dumb-jump-after-jump-hook)
|
||||
#'+nav-flash/blink-cursor)
|
||||
|
||||
;; `saveplace'
|
||||
(advice-add #'save-place-find-file-hook :after #'+nav-flash/blink-cursor)
|
||||
|
||||
(after! evil
|
||||
(advice-add #'evil-window-top :after #'+nav-flash/blink-cursor)
|
||||
(advice-add #'evil-window-middle :after #'+nav-flash/blink-cursor)
|
||||
(advice-add #'evil-window-bottom :after #'+nav-flash/blink-cursor)))
|
||||
;; `evil'
|
||||
(advice-add #'evil-window-top :after #'+nav-flash/blink-cursor)
|
||||
(advice-add #'evil-window-middle :after #'+nav-flash/blink-cursor)
|
||||
(advice-add #'evil-window-bottom :after #'+nav-flash/blink-cursor))
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
`((side . ,neo-window-position) (size . ,neo-window-width))
|
||||
'((quit . current) (select . t)))
|
||||
|
||||
(when (bound-and-true-p winner-mode)
|
||||
(push neo-buffer-name winner-boring-buffers))
|
||||
(after! winner
|
||||
(cl-pushnew neo-buffer-name winner-boring-buffers))
|
||||
|
||||
;; The cursor always sits at bol. `+neotree*fix-cursor' and
|
||||
;; `+neotree*indent-cursor' change that behavior, so that the cursor is always
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
;;; ui/window-select/packages.el
|
||||
|
||||
(cond ((featurep! +switch-window)
|
||||
;; Install switch-window if the user indicated the '+switch-window' module flag
|
||||
;; Install switch-window if the user indicated the '+switch-window'
|
||||
;; module flag
|
||||
(package! switch-window))
|
||||
((or (featurep! +ace-window) t)
|
||||
;; Install ace-window if the user selects the flag '+ace-window' or by default
|
||||
;; ... if the user did not specify a module flag
|
||||
;; Install ace-window if the user selects the flag '+ace-window' or by
|
||||
;; default ... if the user did not specify a module flag
|
||||
(package! ace-window)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue