Hey all,
This is a very popular visual studio shortcut (ranked first on stackoverflow http://stackoverflow.com/questions/98606/favorite-visual-studio-keyboard-sho... )
I'm wondering if there is a shortcut to go back to the previous cursor position - i.e. if you are jumping around in a file or something.
Thanks!
Scott Schulthess scottschulthess@gmail.com wrote:
This is a very popular visual studio shortcut (ranked first on stackoverflow http://stackoverflow.com/questions/98606/favorite-visual-studio-keyboard -shortcuts )
I'm wondering if there is a shortcut to go back to the previous cursor position - i.e. if you are jumping around in a file or something.
Not automatic, but you can always set a bookmark and then jump to it. I just click in the gutter (to the left of the line number) to make the bookmark; then I can cycle thru bookmarks by hitting F2 repeatedly (and so I only have to memorize one keyboard shortcut). m.
Took me a little getting used to but I just set a bookmark and remove it right after jumping back, both via the keyboard.
The undo trick is always handy too.
On Feb 13, 2010, at 9:40 AM, matt@tidbits.com (Matt Neuburg) wrote:
Scott Schulthess scottschulthess@gmail.com wrote:
This is a very popular visual studio shortcut (ranked first on stackoverflow http://stackoverflow.com/questions/98606/favorite-visual-studio-keyboard -shortcuts )
I'm wondering if there is a shortcut to go back to the previous cursor position - i.e. if you are jumping around in a file or something.
Not automatic, but you can always set a bookmark and then jump to it. I just click in the gutter (to the left of the line number) to make the bookmark; then I can cycle thru bookmarks by hitting F2 repeatedly (and so I only have to memorize one keyboard shortcut). m.
-- matt neuburg, phd = matt@tidbits.com http://www.tidbits.com/matt/ A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 14 Feb 2010, at 02:33, Will wrote:
Took me a little getting used to but I just set a bookmark and remove it right after jumping back, both via the keyboard.
The undo trick is always handy too.
Or then, unless I misunderstood the initial request, you could use this fantastic plugin (I love being happy out of little things):
http://lists.macromates.com/textmate/2009-October/029887.html
It creates a new item called by Cmd-Alt-J
enas
Indeed is a great plugin but is there a way to accomplish this on a whole project?
Example scenario: I'm working in Tab-X then use Ctags or Ack to search something and end up in Tab-Y. How can I go back to Tab-X directly as a "Last edit in the whole project" ?.
Jorge
On Sun, Feb 14, 2010 at 6:41 AM, enas textmate@alxp.gr wrote:
On 14 Feb 2010, at 02:33, Will wrote:
Took me a little getting used to but I just set a bookmark and remove it
right after jumping back, both via the keyboard.
The undo trick is always handy too.
Or then, unless I misunderstood the initial request, you could use this fantastic plugin (I love being happy out of little things):
http://lists.macromates.com/textmate/2009-October/029887.html
It creates a new item called by Cmd-Alt-J
enas
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate