Thanks for the tips; :changes is especially useful. But I'm still trying to figure out the rule that determines how changes are separated. Does vim measure the amount of time between keystrokes (e.g. two seconds after the last keystroke, before which a new keystroke is added to the latest change, and after which the new keystroke starts a new change)? Thanks for the replies in advance.
On Aug 6, 5:46 am, Alessandro Antonello <[email protected]> wrote: > Hi, samppi. > > 2009/8/6 samppi <[email protected]>: > > > > > I'm trying out vim for the first time, and I'm wondering about the > > apparently very useful "." command. It repeats the "last command", > > which actually may be a string of commands like "dd" or "A<delete> > > {<return>}<return><esc>". > > > But what determines how far back these compound commands reach? Is it > > determined by the amount of time between each keystroke? (If so, is > > that pause customizable?) Can certain keystrokes start a new chain? Is > > there even a rule? > > I think you should see the ':changes' command (:help changes). It output a > list of last changes in the current buffer. The last one will be repeated when > you press '.' in normal mode. But the '.' command also repeat a yank command > that is not a change in the buffer. See ':help .' for an explanation. > > Regards, > Alessandro --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
