ack.vim icon indicating copy to clipboard operation
ack.vim copied to clipboard

history list is changed

Open Yggdroot opened this issue 10 years ago • 1 comments

I have let g:ackhighlight = 1 in my vimrc.

After Ack xxx, the last cmd in history list is let &hlsearch=1 | echo.

Yggdroot avatar Mar 01 '16 09:03 Yggdroot

The implementation of this is pretty hacky. It precedes my time as maintainer, I'm not exactly sure why it's done the way it is, but I can recall seeing some git history waffling around on it, so if you want to investigate, check out the git blame and follow it through parent commits to try to understand (fugitive's re-blame support is handy).

It should be possible to work around it with some histdel() hackery or maybe some other approach altogether, but to be frank it's not something that bothers me enough that I'm likely to try to figure it out with any urgency. Patches welcome 😃

ches avatar Jun 16 '16 18:06 ches