I am trying to execute ack from vim. But for some reason vim decides to stop after executing ack. How can I stop vim from stopping?
(on some systems what I call ack is called ack-grep)
What I am doing in vim:
what happens is this:
$vim myfile.myextension somefile.someext 356: : this line contains something and somewhat + Stopped vim chatconfig.js
When I run
fg it says this:
vim myfile.myextension Press ENTER or type command to continue
And when I press enter it returns to vim.
What I expect to happen is this:
$vim myfile.myextension somefile.someext 356: : this line contains something and somewhat Press ENTER or type command to continue
so without the fg thing.
I have a workaround, by piping ack to something silly:
:!ack something | grep -v "asdasdasd"
But I would like to just know the trick, which is automatically happening when piping to grep.
Vim7.4, Ubuntu 15.10, ack 2.14