Re: Matching « and »

2020-09-10 Thread Christian Brabandt
On Mi, 09 Sep 2020, Eli the Bearded wrote: > gevisz wrote: > > What line(s) of code should I add to my vimrc so that ci« behave in > > the same way with respect to « and », as ci( behaves with respect to ( > > and )? > > Hmmm. "set matchpairs=(:),{:},[:],<:>,«:»" works fine for %, but it > app

Re: Matching « and »

2020-09-09 Thread Eli the Bearded
gevisz wrote: > What line(s) of code should I add to my vimrc so that ci« behave in > the same way with respect to « and », as ci( behaves with respect to ( > and )? Hmmm. "set matchpairs=(:),{:},[:],<:>,«:»" works fine for %, but it appears that i(, i<, i{, a(, and the like are special movements

Re: Matching « and »

2020-09-09 Thread gevisz
ср, 9 сент. 2020 г. в 01:46, Gabriele : > > On 09/09/2020 0.26, Gabriele wrote: > > :call CountJump#TextObject#MakeWithCountSearch('','z','ai','','«','»') > > Ooops, I pasted the wrong command, and trying the correct one which is: > :call CountJump#TextObject#MakeWithCountSearch('','z','ai','v','«

Re: Matching « and »

2020-09-08 Thread Gabriele
On 09/09/2020 0.26, Gabriele wrote:  :call CountJump#TextObject#MakeWithCountSearch('','z','ai','','«','»') Ooops, I pasted the wrong command, and trying the correct one which is: :call CountJump#TextObject#MakeWithCountSearch('','z','ai','v','«','»') I realized that it works a lot better than

Re: Matching « and »

2020-09-08 Thread Gabriele
On 06/09/2020 14.15, gevisz wrote: What line(s) of code should I add to my vimrc so that ci« behave in the same way with respect to « and », as ci( behaves with respect to ( and )? It's not very easy but there are some plugins that ought to make it possible, such as vim-textobj-user (https://

Matching « and »

2020-09-06 Thread gevisz
What line(s) of code should I add to my vimrc so that ci« behave in the same way with respect to « and », as ci( behaves with respect to ( and )? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information

Re: Re: Matching < and >

2011-04-14 Thread lorenzo7620
Cool! thanks much, I'm going to add this to the "Goodies" section of my personal vim tips! On Apr 14, 2011 3:19pm, Tim Chase wrote: On 04/14/2011 03:06 PM, lazloman wrote: I'd like for vim to highlight the match when I type an>. I'm aware of :set showmatch and matchtime, but these don'

Re: Matching < and >

2011-04-14 Thread Gary Johnson
On 2011-04-14, lazloman wrote: > I'd like for vim to highlight the match when I type an >. I'm aware > of :set showmatch and matchtime, but these don't highlight the angle > brackets. Will I have to use %? I prefer showmatch since it doesn't > require any additional input from me, so if there is a

Re: Matching < and >

2011-04-14 Thread ZyX
Reply to message «Matching < and >», sent 00:06:42 15 April 2011, Friday by lazloman: There is a 'matchpairs' option: add setlocal matchpairs+=<:> to a filetype script for language you want to highlight (ftplugin/xml.vim, ftplugin/xml/my.vim or such). Original messa

Re: Matching < and >

2011-04-14 Thread Tim Chase
On 04/14/2011 03:06 PM, lazloman wrote: I'd like for vim to highlight the match when I type an>. I'm aware of :set showmatch and matchtime, but these don't highlight the angle brackets. Will I have to use %? I prefer showmatch since it doesn't require any additional input from me, so if there is

Matching < and >

2011-04-14 Thread lazloman
I'd like for vim to highlight the match when I type an >. I'm aware of :set showmatch and matchtime, but these don't highlight the angle brackets. Will I have to use %? I prefer showmatch since it doesn't require any additional input from me, so if there is a way to make vim match the angle bracket