Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: hlsearch highlight in opened results #224

Open
thallada opened this issue Jun 28, 2018 · 1 comment
Open

Request: hlsearch highlight in opened results #224

thallada opened this issue Jun 28, 2018 · 1 comment

Comments

@thallada
Copy link

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:

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

@dyng
Copy link
Owner

dyng commented Jun 29, 2018

Looks good, I'll take it into consideration. A pull request is also welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants