completion/ivy: adjust ivy & ivy-occur window heights
This commit is contained in:
parent
d99519d077
commit
7310459f76
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ session)."
|
||||||
|
|
||||||
(def-package! ivy :demand t
|
(def-package! ivy :demand t
|
||||||
:config
|
:config
|
||||||
(setq ivy-height 14
|
(setq ivy-height 12
|
||||||
ivy-do-completion-in-region nil
|
ivy-do-completion-in-region nil
|
||||||
ivy-wrap t
|
ivy-wrap t
|
||||||
ivy-fixed-height-minibuffer t
|
ivy-fixed-height-minibuffer t
|
||||||
|
@ -90,7 +90,7 @@ session)."
|
||||||
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)")
|
(setq counsel-find-file-ignore-regexp "\\(?:^[#.]\\)\\|\\(?:[#~]$\\)\\|\\(?:^Icon?\\)")
|
||||||
|
|
||||||
;; Configure `counsel-rg'/`counsel-ag'
|
;; Configure `counsel-rg'/`counsel-ag'
|
||||||
(set! :popup "^\\*ivy-occur counsel-[ar]g" :size 25 :regexp t :autokill t)
|
(set! :popup "^\\*ivy-occur counsel-[ar]g" :size (+ 2 ivy-height) :regexp t :autokill t)
|
||||||
|
|
||||||
(ivy-add-actions
|
(ivy-add-actions
|
||||||
'counsel-rg
|
'counsel-rg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue