Home Download Buy Blog Forum Support

Increase "recently opened" count?

Increase "recently opened" count?

Postby GreyWyvern on Fri Feb 12, 2010 4:14 pm

Perhaps I am overlooking it, but is there a way to increase the number of "recently opened" files listed under the File menu? Currently it only lists 9, but I would like to list the last 25 or 30 there. I open a lot of different files during the day :)
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Increase "recently opened" count?

Postby EJ12N on Fri Feb 12, 2010 5:01 pm

But of course is sublime, u can do whatever you want :)

edit this file:
%appdata%\Sublime Text\Packages\Default\Pane Context.sublime-menu

Code: Select all
<menu>
   <item caption="Open" command="open"/>
   <item caption="New" command="new"/>
   <separator/>
   <item caption="&amp;%I %s" command="openRecent %i" repeat="9"/>
</menu>


See the repeat="9" put whatever number you want there for recent files :)
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Increase "recently opened" count?

Postby GreyWyvern on Fri Feb 12, 2010 5:18 pm

Thanks! I didn't know these were so easy to edit. :)

I ended up adding it under "File" in Main.sublime-menu like so:
Code: Select all
<menu caption="Open recent...">
  <item caption="&amp;%I %s" command="openRecent %i" repeat="30"/>
</menu>

... and removing the list that appears later on below, so it behaves just like my menu in Photoshop.
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Increase "recently opened" count?

Postby EJ12N on Fri Feb 12, 2010 5:22 pm

GreyWyvern wrote:Thanks! I didn't know these were so easy to edit. :)

I ended up adding it under "File" in Main.sublime-menu like so:
Code: Select all
<menu caption="Open recent...">
  <item caption="&amp;%I %s" command="openRecent %i" repeat="30"/>
</menu>

... and removing the list that appears later on below, so it behaves just like my menu in Photoshop.


Nice one. :)
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Increase "recently opened" count?

Postby GreyWyvern on Fri Feb 12, 2010 7:04 pm

Hrms, I spoke too soon. It appears the internal ST limit is 16 previously opened files. Even though I have set repeat at 30, files past entry 16 drop off the end of the list. :|
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Increase "recently opened" count?

Postby gpfsmurf on Fri Feb 12, 2010 7:33 pm

You might be interested in the QuickMRU plugin, available on the repo
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Increase "recently opened" count?

Postby EJ12N on Mon Feb 15, 2010 7:18 pm

GreyWyvern wrote:Hrms, I spoke too soon. It appears the internal ST limit is 16 previously opened files. Even though I have set repeat at 30, files past entry 16 drop off the end of the list. :|

Good find, I guess Jon knows what to change now :)

Follow gpfsmurf advice with QuickMRU.
I have used QuickMRU before my totalcmd days and it was nice.
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm


Return to Technical Support

Who is online

Users browsing this forum: stevenfrog and 18 guests