0
Ukończony

Undo cursor movement

Jonathan Marshall 13 lat temu Ostatnio zmodyfikowane przez Jon Skinner 13 lat temu 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!

Odpowiedź

Odpowiedź
Ukończony
You can do this with Soft Undo, accessible from the Edit/Undo Selection menu.

The default OS X key binding is Command+U
Odpowiedź
Ukończony
You can do this with Soft Undo, accessible from the Edit/Undo Selection menu.

The default OS X key binding is Command+U