On Sat, Jun 23, 2012 at 10:18 PM, Christian Brabandt wrote:
> Hi Dotan!
>
> On Sa, 23 Jun 2012, Dotan Cohen wrote:
>
>> On Thu, Jun 21, 2012 at 10:40 PM, Christian Brabandt
>> wrote:
>> > Hi Dotan!
>> >
>> > On Do, 21 Jun 2012, Dotan Cohen wrote:
>> >
>> >> Hello, I have this terrific mapping wh
Hi Dotan!
On Sa, 23 Jun 2012, Dotan Cohen wrote:
> On Thu, Jun 21, 2012 at 10:40 PM, Christian Brabandt
> wrote:
> > Hi Dotan!
> >
> > On Do, 21 Jun 2012, Dotan Cohen wrote:
> >
> >> Hello, I have this terrific mapping which takes me back to the
> >> previous empty brackets or quotes:
> >> inor
On Thu, Jun 21, 2012 at 10:40 PM, Christian Brabandt wrote:
> Hi Dotan!
>
> On Do, 21 Jun 2012, Dotan Cohen wrote:
>
>> Hello, I have this terrific mapping which takes me back to the
>> previous empty brackets or quotes:
>> inoremap jk ?\({}\\|\[]\\|<>\\|><\\|()\\|""\\|''\\|>\)?s+1
>>
>> This work
Hi Dotan!
On Do, 21 Jun 2012, Dotan Cohen wrote:
> Hello, I have this terrific mapping which takes me back to the
> previous empty brackets or quotes:
> inoremap jk ?\({}\\|\[]\\|<>\\|><\\|()\\|""\\|''\\|>\)?s+1
>
> This works great if there is no whitespace between the empty brackets
> / quotes
Hello, I have this terrific mapping which takes me back to the
previous empty brackets or quotes:
inoremap jk ?\({}\\|\[]\\|<>\\|><\\|()\\|""\\|''\\|>\)?s+1
This works great if there is no whitespace between the empty brackets
/ quotes, so I added the whitespace check:
inoremap jk ?\({\s*}\\|\[\s*