Re: Convert dot command into macro

2007-10-19 Fir de Conversatie Ben Schmidt
> Just a thought: if I understand the patch correctly you're using "; > as a hidden internal register. Given that regname is an int, wouldn't > it make more sense to use a value that doesn't appear on the keyboard? > Then you don't take away the possibility of adding a "; register in > the future.

Re: Convert dot command into macro

2007-10-19 Fir de Conversatie Alexei Alexandrov
Ben Schmidt wrote: > ... > > I wonder what Bram thinks about including this functionality in standard Vim? > I > think it would be useful. What do others think? > I would love to see this functionality in Vim. I miss it for very long time. It's very typical when you go through a number of f

Re: Convert dot command into macro

2007-10-19 Fir de Conversatie Alexei Alexandrov
Ben Schmidt wrote: > ... > > I wonder what Bram thinks about including this functionality in standard Vim? > I > think it would be useful. What do others think? > I would love to see this functionality in Vim. I miss it for very long time. It's very typical when you go through a number of f

Re: Convert dot command into macro

2007-10-19 Fir de Conversatie Matthew Winn
On Fri, 19 Oct 2007 12:59:15 +1000, Ben Schmidt <[EMAIL PROTECTED]> wrote: > My apologies; that was a poor patch. And I thought I'd tested @, but trying it > again showed it didn't work. I have now made sure it doesn't work. The . > command > is for that purpose, and implementing it isn't trivia

Re: Convert dot command into macro

2007-10-18 Fir de Conversatie Ben Schmidt
> Here is a patch to Vim that adds a , register which is basically access to > Vim's > internal 'redo buffer' used when '.' is used. At a quick look, it seems to > work. > You can thus save your '.' commands to another register and replay them later: > > :let @a=@, > @a > > I believe @, will ha

Re: Convert dot command into macro

2007-10-18 Fir de Conversatie Ben Schmidt
> Sorry to piggyback on this one. > Even though I do use macros and registers, sometimes I wish there was > a way to copy the "last command" into a register after the fact. Is > there? > I also wish there was an easy way to edit my macros and registers. > I've resorted to exiting vim, edit .viminfo

Re: Convert dot command into macro

2007-10-18 Fir de Conversatie Ben Schmidt
> Sorry to piggyback on this one. > Even though I do use macros and registers, sometimes I wish there was > a way to copy the "last command" into a register after the fact. Is > there? > I also wish there was an easy way to edit my macros and registers. > I've resorted to exiting vim, edit .viminf