-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Feature request - highlight current match differently to other matches #119
Comments
Would be nice to do |
I would love this feature. Can we get this revisited? |
I would still like this feature especially as I realised just now that the workaround I mentioned when I closed this one doesn't seem to work anymore :( Any chance my original feature request could be implemented? |
@pmcRTR I know this is ~3yrs too late(!) but I just ran into this issue and this was the workaround I used: " Disable Searchant highlight when incsearch.vim highlights also disable
autocmd CursorMoved * call SearchantStop()
function SearchantStop()
:execute "normal \<Plug>SearchantStop"
endfunction Not sure if that solves the problem you were describing though. |
There is a discussion here: https://stackoverflow.com/questions/7198579/highlight-current-search-result-in-vim
And there is this plugin (mentioned in the discussion): https://github.com/timakro/vim-searchant
However, installing that plugin breaks incsearch (mapping for n, N etc. stop working)
Is there any way to highlight the current match (the match that is currently under the cursor) differently to all the other matches in the buffer and have the current match move when the cursor moves with n, N - can this functionality be added directly to incsearch?
The text was updated successfully, but these errors were encountered: