Re: Directing which window is changed with :copen

2017-10-21 Thread Yegappan Lakshmanan
Hi, On Fri, Oct 20, 2017 at 7:24 PM, Tim Chase wrote: > On 2017-10-20 21:04, Tim Chase wrote: >> Long a nagging annoyance, I figured it's time to ask. I frequently >> will do a :vimgrep on a term under the cursor, but want the >> resulting navigation to open in a new window. > > Digging a little

Re: Directing which window is changed with :copen

2017-10-20 Thread Ben Fritz
On Friday, October 20, 2017 at 9:24:50 PM UTC-5, Tim Chase wrote: > On 2017-10-20 21:04, Tim Chase wrote: > > Long a nagging annoyance, I figured it's time to ask. I frequently > > will do a :vimgrep on a term under the cursor, but want the > > resulting navigation to open in a new window. > > Di

Re: Directing which window is changed with :copen

2017-10-20 Thread Tim Chase
On 2017-10-20 21:04, Tim Chase wrote: > Long a nagging annoyance, I figured it's time to ask. I frequently > will do a :vimgrep on a term under the cursor, but want the > resulting navigation to open in a new window. Digging a little further, it's not quite as capricious/malicious as I'd thought.

Re: Directing which window is changed with :copen

2017-10-20 Thread Ben Fritz
On Friday, October 20, 2017 at 9:04:29 PM UTC-5, Tim Chase wrote: > Long a nagging annoyance, I figured it's time to ask. I frequently > will do a :vimgrep on a term under the cursor, but want the resulting > navigation to open in a new window. > > $ vim somefile.c > :echo 'In my main code wi

Directing which window is changed with :copen

2017-10-20 Thread Tim Chase
Long a nagging annoyance, I figured it's time to ask. I frequently will do a :vimgrep on a term under the cursor, but want the resulting navigation to open in a new window. $ vim somefile.c :echo 'In my main code window' :new :echo 'I want my vimgrep results HERE' :vimgrep /pattern/ *.[