Sublime Forum

Undo entire words, instead of by character?

#1

I’m using ST3, the latest build (Free version) and on my main development PC ST3’s undo (Ctrl+Z) undos character by character, whereas on my laptop (Same version), it undos entire words/methods/functions when you use Ctrl+Z. How can I switch my undo on my main dev PC to work like my laptop? It’s incredibly annoying to have to spam Ctrl+Z just to remove a single method you just added.

0 Likes

#2

It’s a plugin doing this. There’s a bug (?) in Sublime where if you create an empty edit then it screws up the undo stack. Do you have any plugins that have an on_modified callback?

0 Likes

#3

How can I check?

0 Likes

#4

@Jonc – Have you had any luck with this?

I would also appreciate any help to find which plug-in may be causing the problem.

0 Likes

#5

Just uninstall plugins until it works again, then don’t reinstall that last plugin.

0 Likes

#6

UPDATE:

After much trial and error, I discovered that Sublemacspro was the culprit!

Hooray for normal undo functionality!

0 Likes