search: nnoremap n nzz
etc
This commit is contained in:
parent
6325b44ecd
commit
a3a9584d25
@ -28,7 +28,11 @@ Made solely to reduce lines in the init-file."
|
||||
(interactive)
|
||||
(evil-next-line)
|
||||
(scroll-up-line))
|
||||
)
|
||||
;; Search showing
|
||||
(defun mitch/search-and-rebalance (&optional &rest flush)
|
||||
(evil-scroll-line-to-center (car flush)))
|
||||
(advice-add 'evil-search-next :filter-return #'mitch/search-and-rebalance)
|
||||
(add-hook 'isearch-mode-end-hook #'mitch/search-and-rebalance))
|
||||
(defun mitch/visual-setup ()
|
||||
"Commands to run when setting up any display. To be called in use-package
|
||||
declarations for color schemes."
|
||||
|
Loading…
Reference in New Issue
Block a user