What, please, are the tweaks to Distraction Free.sublime-settings that will:
- Always hide the menu bar when I’m in distraction-free mode
and
- Always show the minimap when I’m in distraction-free mode
?
THANKS!
What, please, are the tweaks to Distraction Free.sublime-settings that will:
and
?
THANKS!
Preferences -> Settings - Distraction Free from the main menu and write the setting show_minimap: true on the right hand window & save it. That should show the minimap in distraction free mode.Thanks very much. The default in Linux seems to be for the menu bar to remain open in DF mode, but I have learned that if you close it manually, that state is remembered, but only for that project. The same holds true for showing/hiding the minimap. Whereas, oddly, the DF preferences setting to “show_minimap” isn’t working for me. In any case, the behavior as stated–remembering the states per project–is sufficient for me, and I’m gonna roll with it. Thanks again.
Hmm… You are correct. When I comment out show_minimap: true, the minimap still stays.
There’s not a setting for displaying the minimap that I’m aware of. That’s not something that can be tweaked on a file by file basis because the minimap is a window-level item (that is, you can’t have the minimap turned in on one tab but not in another, it’s all or nothing).
You can query the state of it from the API and toggle it from there, though.
Thanks, man. I’ve got it more or less under control I think–the individual projects seem to remember the states after I set them initially (via the menu), and that’s good enough for my purposes.
Indeed; the state of the minimap (and file tabs and the status bar) are a per-window thing and are remembered in the saved state for each window. In addition, when you create a new window, the state of those things is inherited from the current window when you do it.
So if you generally want anything to be a specific state most/all of the time, you need to tweak all windows once to set them up, and then the state will persist going forward.