Sublime Forum

[Solved] What should be done is to sublime.log_commands(True) always have been launched?

#1

I often use the commands sublime.log_commands(True) and sublime.log_input(True). May I make so that these commands functioned by default when I start Sublime Text 3 that I didn’t need to enter every time these commands into the console? And if I want to terminate commands, I can always enter into the console sublime.log_commands(False) and sublime.log_input(False).

Thanks.

0 Likes

#2

With the caveat that this seems like a really bad idea and you should just create a custom command that turns the settings on and off for you in response to a key press, a plugin like the following forces the settings on at every startup:

import sublime, sublime_plugin

def plugin_loaded():
    sublime.log_commands (True)
    sublime.log_input (True)
2 Likes

#3

@OdatNurd, thank you very much!

0 Likes