sublime-profiles
sublime-profiles copied to clipboard
Remember settings that don't come from configuration files
There are some settings that can't be changed via .sublime-settings
, like show/hide Minimap, sidebar, status bar, tab bar, toggling Distraction free, etc. It'd be cool if Profile Switcher would remember those, as I find myself constantly turning them on and off when going from Writing to Coding mode :/
This post may help. Idk if the better idea would to just make a new plugin for hiding UI elements via settings, so that it plays nicely with Profile Switcher.
I'll see if I can jot down a PR for this issue. Not sure where to start...
We might add fake settings (show_minimap
) and make profile switcher call that code (set_minimap_visible
) if it sees it
We might add fake settings (
show_minimap
) and make profile switcher call that code (set_minimap_visible
) if it sees it
There actually is a plugin for that: https://packagecontrol.io/packages/Remember%20Minimap%20Setting
It works only for minimap, though. And it doesn't disable it directly after profile switching, one needs to reload the interface by reopening the file
Can you do the same but inside our plugin? And trigger on profile change?