andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

There should be cursor position history #53

Open vi opened 12 years ago

vi commented 12 years ago

Currently I have to explicitly set bookmark or type some marker text (like "QQQ" to search for it later - poor man's bookmarks) to easily find there I was while looking somewhere else.

There should be feature like "Move to previous position", "Move to next position".

Position should be remembered while ( cursor resides in that place (without user input) for a second or is set using mouse click ) if the distance from previously remembered position is more than a line.

Cursor movements after using "Move to previous position" should insert position history entries in the middle.

The history should be global, not per-file.

Default shortcurt can be Alt+Left and Alt+Right.