Re: Search & replace with grep

2018-04-02 Thread JohnBeckett
You are trying to do something difficult which requires a lot of background. I can only offer some thoughts. Use the part of the tip that I mentioned: two vnoremap commands after "Search for selected text, forwards or backwards". Do not use anything else. \_s means space or tab or newline. Vis

Re: shtags.pl

2018-04-02 Thread John Little
> I don't have the man page unfortunately. I found the man page in $VIM/runtime/tools/shtags.1 the same place as shtags.pl. It doesn't get installed, my post was partly about mentioning how I accessed it. I imagine that on a vanilla Windows OS nroff style man pages are problematic. I've somet

Re: shtags.pl

2018-04-02 Thread David Woodfall
On Monday 2 April 2018 04:45, John Little put forth the proposition: I was startled to see # Last Changed: 96/11/27 19:46:06 I tried it on my sundry scripts and it produced nothing, not recognizing bash. Wait, there's a man page... man man to work out how to see it... man -l shtags.1 so

Re: shtags.pl

2018-04-02 Thread John Little
I was startled to see # Last Changed: 96/11/27 19:46:06 I tried it on my sundry scripts and it produced nothing, not recognizing bash. Wait, there's a man page... man man to work out how to see it... man -l shtags.1 so shtags.pl -s sh -v *.sh works for me. If vim continues to distr

Re: Search & replace with grep

2018-04-02 Thread mstep.germany via vim_use
On Sunday, 1 April 2018 12:29:47 UTC+2, mstep@googlemail.com wrote: Sorry I forgot to escape the capturing \( \) So my search pattern should be: :s/\begin{center}\n\(\s\+\)\textcolor{mygray}{\large \([^}]\+\)}\s+\end{center}\s+/$1\vimcode{$2}/g -- -- You received this message from the

Re: Search & replace with grep

2018-04-02 Thread mstep.germany via vim_use
On Monday, 2 April 2018 06:11:20 UTC+2, JohnBeckett wrote: > On Sunday, April 1, 2018 at 8:29:47 PM UTC+10, mstep.germany wrote: > > Search: > > > > \begin{center} > > \textcolor{mygray}{\large w} > > \end{center} > > To search for visually selected text, see http://vim.wikia.com/wiki/VimTip17

Slow back word motion

2018-04-02 Thread Ni Va
Hi, I sometime use visual selection using back motion with 'vb' letters in normal mode. I see a slow motion and cursor release phase before the cursor reaches back position. Then when I use vT, it speeds. Why this difference ? Thank you Ni Va -- -- You received this message from the "vi

Re: feedkeys \ Enter key

2018-04-02 Thread Ni Va
Le dimanche 1 avril 2018 13:14:41 UTC+2, Christian Brabandt a écrit : > On So, 01 Apr 2018, Ni Va wrote: > > > It results in that, I think double quote is needed to embrace call feedkey > > and > > inside double single quote '' > > > > "D:/Logiciels/Vim/feedkeys(:WEATHER/" Illegal file name > >