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 i

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 dif

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 origina

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

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 with.

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

Re: wildmenu=full matching

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

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 confron

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

Re: moving tab pages using maps

2012-08-16 Thread sheetal
On Friday, August 10, 2012 6:00:02 PM UTC+5:30, coot_. wrote: > On 01:00 Fri 10 Aug , sheetal wrote: > > > Hello everyone, > > > > > > What i want to do is map some key such that when ever i press the > > key i want the current tabpage to be moved previous to a tab/after the next > > tab

Re: moving tab pages using maps

2012-08-16 Thread sheetal
Hello Ping and JohnBeckett, Ping, Your solution is totally working. Thanks for this. and JohnBeckett, You are right about this, Marcin Szamotulski wrote: > It is possible and quite easy: > > map :tabm +1 > map :tabm -1 This doesn't work. -- You received this message from the "vim_use" m