Home Download Buy Blog Forum Support

Editor file/position history navigation

Editor file/position history navigation

Postby Ulhume on Sun Nov 20, 2011 10:50 pm

Is there any way to go back in editor history ?

Example: Using SublimeCodeIntel I jump from one file I'm edition to another file containing a function definition. Is there any way to go back top the place I was before my jump ?
Ulhume
 
Posts: 12
Joined: Fri Nov 18, 2011 3:59 pm

Re: Editor file/position history navigation

Postby wbond on Wed Nov 23, 2011 3:54 pm

Ctrl+tab will go to the previous view, and ctrl+u will jump to the previous position in a file. These may be slightly different on OS X, just look in Preferences > Key Bindings – Default and look for the commands next_view_in_stack and soft_undo. On OS X the "super" key refers to cmd.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Editor file/position history navigation

Postby Ulhume on Fri Nov 25, 2011 8:58 am

ctrl-tab is just cycling over tabs. Ctrl-u is more what I'm looking for, but it's history buffer is limited to just one file. In fact what I'm looking for is a super Ctrl-U for all previously opened files. The classical use case is :
0/ I work on file F0, and I see an unknown function P1?
1/ I jump to declaration of function P1 in file F1 line l1
2/ I jump to declaration of function P2 in file F2 line l2 used in P1
3/ I use "back" to go from F2:l2 to F1:l1
4/ I use "back" to go from F1:l1 to my original position in the file I was editing

This kind of function is a must with huge professional projects.
Ulhume
 
Posts: 12
Joined: Fri Nov 18, 2011 3:59 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 19 guests