Re: ANN: vim-textobj-quotes - text objects for the closest pairs of quotes of any type

2014-04-12 Thread BPJ
What happens if the cursor is between two different quotes on the same line 'like' in| this example with a far away quote Will it always jump to the double quote to the right or is there a cutoff point where the quote to the right is considered too far away? Den 12 apr 2014 03:12 skrev Anton

Re: ANN: vim-textobj-quotes - text objects for the closest pairs of quotes of any type

2014-04-12 Thread Anton Beloglazov
In a case when both pairs of quotes are on the same line with the cursor, it will always jump forward regardless of the distance. However, if the front quotes are on the next line, it will jump back to the quotes on the same line. If both pairs of quotes are not on the same line with the cursor,

Re: Compile vim with perl

2014-04-12 Thread John Little
On Friday, April 11, 2014 8:41:48 PM UTC+12, Егор wrote: checking if compile and link flags for Perl are sane... no PERL DISABLED configure runs some perl commands to find the right compiler and linker options to use for perl. Then, it uses these options to compile a dummy programme using

Re: dtd2vim

2014-04-12 Thread John Little
On Saturday, April 12, 2014 5:11:08 AM UTC+12, russur wrote: I am trying to use the dtd2vim perl script. I have perl installed, and have been able to use other perl installations, but this one doesn't seem to work. doesn't seem to work... not a lot to go on...;) Does it say something

How to match one OR another word?

2014-04-12 Thread Andrei Kulakov
Hi, how can I get this to work: imap - c-r=synIDattr(synIDtrans(synID(line(.),col(.)-1,1)),name)=~(String)||(Comment) ? '-' : '_'cr And how can this be found in Vim manual? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: How to match one OR another word?

2014-04-12 Thread Christian Brabandt
On Sa, 12 Apr 2014, Andrei Kulakov wrote: Hi, how can I get this to work: What are you trying to achieve? imap - c-r=synIDattr(synIDtrans(synID(line(.),col(.)-1,1)),name)=~(String)||(Comment) ? '-' : '_'cr I think this should be: imap -

Re: How to match one OR another word?

2014-04-12 Thread Nikolay Pavlov
On Apr 13, 2014 1:47 AM, Christian Brabandt cbli...@256bit.org wrote: On Sa, 12 Apr 2014, Andrei Kulakov wrote: Hi, how can I get this to work: What are you trying to achieve? imap - c-r=synIDattr(synIDtrans(synID(line(.),col(.)-1,1)),name)=~(String)||(Comment) ? '-' : '_'cr I

Re: How to match one OR another word?

2014-04-12 Thread Andrei Kulakov
Thanks Christian, this works great! When I tried \| it didn't work and I assumed pattern.txt refers to patterns used with search command and there are some special rules when you use matching with =~ . I've run into double escape issue before but I keep forgetting to do that.. thanks again! -ak

How to change an SRT file

2014-04-12 Thread Jeri Raye
Hi, I have an srt file where every new subtitle starts with a capital letter. See here an example. +-+ 12 00:01:35,095 -- 00:01:38,598 The people you see actually lived. 13 00:01:38,598 -- 00:01:41,601 All the words they speak 14 00:01:41,601 -- 00:01:44,604 Were spoken or written by them.