[TxMt] Re: Code Navigation
doob at me.com
Fri Feb 2 16:48:41 UTC 2018
> On 2 Feb 2018, at 06:41, feek <feekdiv at gmail.com> wrote:
> I use for "jumping back" a custom Key Binding.
> Create a Key Binding file:
> And add the following code:
> // bookmark
> "^1" = (setMark:);
> // jump to bookmark
> "^2" = (swapWithMark:,centerSelectionInVisibleArea:);
> Press CTRL-1 for setting a bookmark;
> Go to an other location in the same file, and do your thing (edit...)
> Press CTRL-2 for going back.
> NOTE: works only in the same file, and you you have to press an additional
> key-combination before going somewhere else..... for me it works.... (also
> outside TM ).
Hmm, that might be useful. I wonder if that works to trigger from within TextMate.
More information about the textmate