dyng / dyng/ctrlsf.vim

Request: hlsearch highlight in opened results

Open
#224 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Vim Script
Stars
1.6k
Forks
89
PR merge metrics
No merged PRs in 30d

Description

I'm loving this plugin, thanks for all your hard work on it. But, I wish there was a better highlight option. I have this set:

```vim
let g:ctrlsf_selected_line_hl = 'op'
```

However, the `p` flag only highlights one whole line in the opened result buffer. If there are other results in the same file, they are not highlighted. The highlight color is different from the `Search` highlight for my colorscheme. Also, I cannot go to other results in the file with vim's `n` and `N` commands.

Ack-vim's `let g:ackhighlight=1` would allow me to do that. Can it be done in this plugin too? For reference, I think this is how ack-vim does it:

https://github.com/mileszs/ack.vim/blob/36e40f9ec91bdbf6f1adf408522a73a6925c3042/autoload/ack.vim#L152-L159

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.