General refactor for consistency & idempotency

Also updated comments
This commit is contained in:
Henrik Lissner 2018-05-18 01:21:09 +02:00
parent 50401f6c09
commit 80adb9c1f6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
17 changed files with 48 additions and 40 deletions

View file

@ -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))

View file

@ -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

View file

@ -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)))