paste works once, register then garbled

2012-08-16 Thread Niels Grundtvig Nielsen
ViM 7.3.46 on Windows XP big version with GUI 1. copy block of text to register *a* with ay6 2. record macro sequence /\t21 ap; 3. result first time: cursor moves to first line containing [tab]21, content of register *a* pasted below line 4. result next time: gibberish string pasted in

Re: Pattern matching question

2012-08-16 Thread Erik Christiansen
On 16.08.12 03:15, Tony Mechelynck wrote: Oh, regular expressions work quite nicely, but AFAICT each of the Unix programs which uses them has an almost, but not quite, identical grammar for them. So they look familiar, but at some unexpected times the same regexp does just very slightly

Re: paste works once, register then garbled

2012-08-16 Thread Simon Ruderich
On Thu, Aug 16, 2012 at 11:41:24AM +0200, Niels Grundtvig Nielsen wrote: 1. copy block of text to register *a* with ay6 2. record macro sequence Which register did you use to record the macro sequence? If you used qa, then the macro is stored in register a - therefore destroying the original

Re: Pattern matching question

2012-08-16 Thread Tony Mechelynck
On 16/08/12 12:31, Erik Christiansen wrote: On 16.08.12 03:15, Tony Mechelynck wrote: Oh, regular expressions work quite nicely, but AFAICT each of the Unix programs which uses them has an almost, but not quite, identical grammar for them. So they look familiar, but at some unexpected times the

Re: Pattern matching question

2012-08-16 Thread Erik Christiansen
On 16.08.12 15:38, Tony Mechelynck wrote: On 16/08/12 12:31, Erik Christiansen wrote: Vim's bewildering variety of regex flavours must have its varied uses. The \v variation is the only one worth using, I submit, because it is near as dammit POSIX ERE. (At least close enough that I don't

Vertically maximized window changing size when closing tab

2012-08-16 Thread skeept
I tried this on Windows 7, vista and on Linux. If I have a window maximized vertically, then open a new tab (say :tab he) and then close that tab, so the tab line disappears the gvim window loses a line. I would like it to keep its original size since I had it vertically maximized to start

Re: Vertically maximized window changing size when closing tab

2012-08-16 Thread Ben Fritz
On Thursday, August 16, 2012 10:52:34 AM UTC-5, skeept wrote: I tried this on Windows 7, vista and on Linux. If I have a window maximized vertically, then open a new tab (say :tab he) and then close that tab, so the tab line disappears the gvim window loses a line. I would like it

Re: wildmenu=full matching

2012-08-16 Thread David Fishburn
On Aug 15, 2012, at 10:09 AM, Jürgen Krämer jottka...@googlemail.com wrote: Hi, David Fishburn wrote: Just an observation, which looks wrong. :set wildmode=full :set witab I get these matches listed: weirdinvert wildcharm wildignorecase wildmode winaltkeys

Re: Pattern matching question

2012-08-16 Thread Dominique Pellé
Tony Mechelynck wrote: On 15/08/12 20:52, Gary Johnson wrote: On 2012-08-15, jcordes wrote: Anyone else reading can probably tell from the followup I made to my own post shows that I have confused myself quite thoroughly on this point! Some people, when confronted with a problem,

Re: paste works once, register then garbled

2012-08-16 Thread John Little
On Thursday, August 16, 2012 9:41:24 PM UTC+12, eNG1Ne wrote: 1. copy block of text to register a with ay6 In normal mode that's an incomplete command, unless you're in visual mode, in which case it has an extra 6. In command mode, that is :ay6 it's a comment, so a no-op, so it doesn't put