0
Terminé

Undo cursor movement

Jonathan Marshall il y a 13 ans mis à jour par Jon Skinner il y a 13 ans 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!

Solution

Solution
Terminé
You can do this with Soft Undo, accessible from the Edit/Undo Selection menu.

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

The default OS X key binding is Command+U