Re: [cream] Wishlist: Immediately update "Recent Files" list
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
|
From: Steve H. <dig...@da...> - 2006-12-07 19:37:10
|
From: Peter Mason VIA Ben Armstrong, Thu, December 07, 2006 12:17 pm > > I find that it is much faster to alt-tab between 2 cream edit > sessions if I open multiple copies of cream, rather than opening > multiple files in one cream session and using the Window># menu. Do you know about Ctrl+Tab? > This is especially the case when editing files on drive served up by > Samba and even more important when using a remote VPN access. > > There is one liability to having multiple copies of Cream open. The > "Recent files" list ends up with the list as per the last copy of > Cream closed. To get around this I've been doing the extra steps of > open FileA, exit Cream, open FileB, exit Cream and then reopen Cream > twice for each file. > > Suggestion ... have Cream update the "Recent files" list when a file > is opened, rather than when Cream closes (i.e. something like every > time an open is done, reread the latest 'recent files' list, add the > new file, and write it out) Unfortunately, keeping program data synchronized requires a re-write of some underlying architecture. We use Vim's viminfo to remember global variables some of which Cream uses to store various settings, including the Recent Files list. Since this is not a database, it doesn't lend itself to discrete transactions, meaning any of multiple open sessions could overwrite each other. A better solution would probably involve messaging all other open sessions with updates. Additional overhead would also include the bookkeeping so each would know what other sessions to message. -- Steve Hall [ digitect dancingpaper com ] :: Cream... usability for Vim :: http://cream.sourceforge.net |