Re: How to open another file and go to a search pattern

2017-01-27 Thread Nikolay Aleksandrovich Pavlov
2017-01-27 15:20 GMT+03:00 Mayuresh : > Sorry, when typing out text I have made some mistakes, which may have > given wrong impressions of what I tried at a couple of places. I should > have rather pasted the code I tried, but I had changed it by the time I > thought of writing a mail. Will correct

Re: How to open another file and go to a search pattern

2017-01-27 Thread Mayuresh
Sorry, when typing out text I have made some mistakes, which may have given wrong impressions of what I tried at a couple of places. I should have rather pasted the code I tried, but I had changed it by the time I thought of writing a mail. Will correct it now. On Fri, Jan 27, 2017 at 02:13:24PM +

Re: annoying PasteStart/PasteEnd

2017-01-27 Thread Johannes-Maria Kaltenbach
On Thu, Jan 26, 2017 at 08:40:27PM +0100, Bram Moolenaar wrote: > > Johannes-Maria Kaltenbach wrote: > > > On Wed, Jan 25, 2017 at 01:53:54PM +0100, Johannes-Maria Kaltenbach wrote: > > > On Tue, Jan 24, 2017 at 03:58:14PM +0100, Bram Moolenaar wrote: > > > > Found it: part of the change was missin

Re: Why the substitute in the selection only substitute the first letter in the selection in my vimscript?

2017-01-27 Thread Christian Brabandt
Hi Zhe! On Fr, 27 Jan 2017, Zhe Lee wrote: > Why the substitute in the selection only substitute the first letter in the > selection? > > The \%V option works fine when I just use the command line to exec it. > > But it seems not work very well when I use it in the vimscript. > > vnoremap d

Why the substitute in the selection only substitute the first letter in the selection in my vimscript?

2017-01-27 Thread Zhe Lee
Why the substitute in the selection only substitute the first letter in the selection? The \%V option works fine when I just use the command line to exec it. But it seems not work very well when I use it in the vimscript. vnoremap dfc :call DragonflyCmdProcess(1) function! DragonflyCmdProces

Re: How to open another file and go to a search pattern

2017-01-27 Thread Nikolay Aleksandrovich Pavlov
2017-01-27 5:46 GMT+03:00 Mayuresh : > I have a requirement where the cursor is on following line: > > SomeFileName : Some Multiple Words of Search Pattern > > I want to define a hot key (Say ) to open SomeFileName and go to and > highlight the whole pattern "Some Multiple Words of Search Pattern"