I find I use the ctrl-] to jump to a tag definition a lot. Ideally I would like to hit ctrl-[ to jump back to where I was.
Use case: I just want to glance at a function definition real quick, then back to where I was working
Even better ... use a stack for those positions. So, working in main I need to jump to a function to see how it's called.
Hit ctrl-] on the name I just typed, poof, now looking at that function. I see it calls another function and want to see that, so cursor down to it, then ctrl-] again, poof now at the 2nd function. ctrl-[ and I'm back to the first function. ctrl-[ again and I'm back where I was originally working.
I find I use the
ctrl-]to jump to a tag definition a lot. Ideally I would like to hitctrl-[to jump back to where I was.Use case: I just want to glance at a function definition real quick, then back to where I was working
Even better ... use a stack for those positions. So, working in main I need to jump to a function to see how it's called.
Hit
ctrl-]on the name I just typed, poof, now looking at that function. I see it calls another function and want to see that, so cursor down to it, thenctrl-]again, poof now at the 2nd function.ctrl-[and I'm back to the first function.ctrl-[again and I'm back where I was originally working.