Hi Benjamin! On Do, 07 Okt 2010, Benjamin R. Haskell wrote:
> On Thu, 7 Oct 2010, Eric Smith wrote: > >> Hi >> >> How may I index or name a specific state of the buffer in order to >> return to it later? > > If you mean a specific 'undo' state: > > " save position > let b:saved_state = undotree()['seq_last'] That should probably be undotree()['seq_cur'] and does only work with Vim 7.3. Easier is changenr() [...] regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
