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.
You 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)
.
Commented
Mar 8, 2016 at 16:12
swiper
. Thanks :)
Commented
Mar 8, 2016 at 16:15
hl-line
works, but it looks like it uses something else than:background whatever
.