dab on escaped backslashes

2012-10-22 Thread Axel Bender
Is there any possibility to make dib (or dab for that matter) ignore escaped backslashes, e.g. Current behavior: "( \(a[cursor_here]bc) )" -> dib -> "() )" Desired behavior: "( \(a[cursor_here]bc) )" -> dib -> "( () )" -- You received this message from the "vim_use" maillist. Do not top-post!

Re: dab on escaped backslashes

2012-10-22 Thread Axel Bender
Addendum: I'm not looking for a macro/function but for a setting. -- 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, visit http://www.vim.org/maillist.php

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 00:59 Mon 22 Oct , Axel Bender wrote: > Addendum: I'm not looking for a macro/function but for a setting. > > -- > 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, visit http://www.vim.org/

Re: dab on escaped backslashes

2012-10-22 Thread Axel Bender
I believe to remember that this wasn't so in earlier versions of GVim. Do you by chance know, why this was changed? It - usually - comes relatively unhandy when editing, e.g. Windows file names. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: dab on escaped backslashes

2012-10-22 Thread Andy Wokula
Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: Is there any possibility to make dib (or dab for that matter) ignore escaped backslashes, e.g. Current behavior: "( \(a[cursor_here]bc) )" -> dib -> "() )" Desired behavior: "( \(a[cursor_here]bc) )" -> dib -> "( () )" Addendum: I'm not loo

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 01:21 Mon 22 Oct , Axel Bender wrote: > I believe to remember that this wasn't so in earlier versions of GVim. Do you > by chance know, why this was changed? It - usually - comes relatively unhandy > when editing, e.g. Windows file names. > > -- > You received this message from the "vim_

Re: dab on escaped backslashes

2012-10-22 Thread Axel Bender
In fact I don't see any influence of cpo+=M either. However I don't know if there should be a change... On the other hand there seems to be no other place at which we might toggle this behavior. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the

Re: dab on escaped backslashes

2012-10-22 Thread Marcin Szamotulski
On 08:32 Mon 22 Oct , Axel Bender wrote: > In fact I don't see any influence of cpo+=M either. However I don't know if > there should be a change... > On the other hand there seems to be no other place at which we might toggle > this behavior. > > -- > You received this message from the "vi

Re: dab on escaped backslashes

2012-10-22 Thread Christian Brabandt
Hi Marcin! On Mo, 22 Okt 2012, Marcin Szamotulski wrote: > On 08:32 Mon 22 Oct , Axel Bender wrote: > > In fact I don't see any influence of cpo+=M either. However I don't know if > > there should be a change... > > On the other hand there seems to be no other place at which we might toggle

Re: dab on escaped backslashes

2012-10-22 Thread Christian Brabandt
On Mo, 22 Okt 2012, Andy Wokula wrote: > Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: > >Is there any possibility to make dib (or dab for that matter) ignore > >escaped backslashes, e.g. > > > >Current behavior: > >"( \(a[cursor_here]bc) )" -> dib -> "() )" > > > >Desired behavior: > >"( \(

Re: dab on escaped backslashes

2012-10-22 Thread Bram Moolenaar
Christian Brabandt wrote: > On Mo, 22 Okt 2012, Andy Wokula wrote: > > > Am 22.10.2012 09:55 und 09:59, schrieb Axel Bender: > > >Is there any possibility to make dib (or dab for that matter) ignore > > >escaped backslashes, e.g. > > > > > >Current behavior: > > >"( \(a[cursor_here]bc) )" -> dib

Re: dab on escaped backslashes

2012-10-24 Thread BPJ
On 2012-10-23 05:57, Bram Moolenaar wrote: What language has a backslash for ( but not for )? We should handle that in a more generic way then, not just for "dib". Perl for one. See $ perldoc perlref /enumerated Also something like /(...\(...)/ is very well possible in a regular exp