mileszs / ack.vim

Vim plugin for the Perl module / CLI script 'ack'
Other
3.08k stars 396 forks source link

"Fix" outputting to terminal every search! #278

Open barn opened 3 years ago

barn commented 3 years ago

I wouldn't say it fixes #18 and #52, but it builds on them. It avoids the compatibility woes, but only using the shell trick if the shell is bash or zsh. Otherwise it does the t_te/i swapping.

Both are not very neat, and make this function messier, but making 3 separate functions seemed a lot more busy work.

barn commented 3 years ago

I know this is a hotly debated "this fix doesn't work for everyone" topic, but this at least collates the two main camps in to one ugly workaround.