Recenter after project search (with counsel)
This commit is contained in:
parent
42a21dffdd
commit
29e1398977
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
||||||
|
|
||||||
;; Record in jumplist when opening files via counsel-{ag,rg,pt,git-grep}
|
;; Record in jumplist when opening files via counsel-{ag,rg,pt,git-grep}
|
||||||
(add-hook 'counsel-grep-post-action-hook #'better-jumper-set-jump)
|
(add-hook 'counsel-grep-post-action-hook #'better-jumper-set-jump)
|
||||||
|
(add-hook 'counsel-grep-post-action-hook #'recenter)
|
||||||
(ivy-add-actions
|
(ivy-add-actions
|
||||||
'counsel-rg ; also applies to `counsel-rg'
|
'counsel-rg ; also applies to `counsel-rg'
|
||||||
'(("O" +ivy-git-grep-other-window-action "open in other window")))
|
'(("O" +ivy-git-grep-other-window-action "open in other window")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue