Sublime Forum

Save moves my cursor

#1

I’m not sure how long this has been happening, as I’ve just been living with it and thinking I’ll get back to figuring it out sometime in the future, but whenever I save a file my cursor moves to the left by one character.

Where can I start to diagnose what plugin / setting is causing this annoying behavior?

0 Likes

#2

You can disable plugins in your User Settings.

0 Likes

#3

Well, with 143 plugins in my Packages directory I was hoping for a more direct method of diagnosing what is happening in the callbacks for the command. :smile: For now I’ve just overridden the command in my User file to execute a save_all which seems to stop the cursor moving nonsense.

Isn’t there a way to see the stack of actions executed by a given keystroke?

0 Likes

#4

Try typing this into your console:

import sublime_plugin sublime_plugin.all_callbacks()'on_pre_save'] sublime_plugin.all_callbacks()'on_post_save']

0 Likes