0
Completed

Undo cursor movement

Jonathan Marshall 13 years ago updated by Jon Skinner 13 years ago 0
On my Macs I'm forever accidentally pressing CMD and up/down and ending up at the top or bottom of the file. (Usually because I meant to press CMD and left/right - the arrow keys are tiny on modern macs)

VIM allows you to undo a cursor movement by pressing CTRL+O. So it's a pretty painless mistake in VIM but quite painful to correct in Sublime. Could this feature be added?

Cheers!

Answer

Answer
Completed
You can do this with Soft Undo, accessible from the Edit/Undo Selection menu.

The default OS X key binding is Command+U
Answer
Completed
You can do this with Soft Undo, accessible from the Edit/Undo Selection menu.

The default OS X key binding is Command+U