Coming from helm
, I am giving swiper
and ivy-mode
a shot.
I'm looking for a way to highlight candidates in the way hl-line-mode
does: full width background.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityYou probably want:
(setq ivy-format-function 'ivy-format-function-line)
hl-line
highlight current line (where point is), as opposed to how swiper
highlight current candidate. I am unable to reproduce hl-line
's appearance with (set-face-attribute 'ivy-current-match nil :background foo)
.
– Mathieu Marques
Mar 8 '16 at 16:12
hl-line
works, but it looks like it uses something else than:background whatever
. – Mathieu Marques Mar 7 '16 at 14:42