+12
Provide previous/next navigation (based on history)
Idea: Whenever the cursor is moved "far", remember the position before that movement in a history and provide commands to navigate the history.
"Far" movements would comprise:
- Selecting another file.
- Every move that involves Goto: Command+P, Command+R, Ctrl+G.
- Move by searching:
- Find, Incremental Find
- Find next
- Selecting a find result from Find in Files with F4
- Go to beginning / end of buffer.
"Remembering the position" means to record the current file, view and the current cursor position.
Customer support service by UserEcho
Visual Studio and Eclipse have this.
But this plugin (as well as the one on which it is based) does not work. It looks like it only records the position of the selections, which is far from being useful.
Hmm, strange, because if I recall correctly, I've based my adaptation of this plugin (https://github.com/xeno-by/dotsublime/tree/master/Packages/MyNavigationHistory) on the link above.
Just tested my version now - works both for go to anything within a file and across files, for search, for go to errors. Don't treat it as bugless, rather than a proof of concept.
I also used to miss the navigation history functionality when started using Sublime after several years of Visual Studio. It's good that it's possible to build an approximation of it with a plugin. This is where Sublime shines, imho.