Close all tabs, but not the window, in Sublime Text

Thanks to Alex, it turned out kind of simple, Preferences > Key Bindings > User: { “keys”: [“super+shift+w”], “command”: “close_all” } No need to restart Sublime, it works right away. And what’s even better, no need to get used new shortcuts, you can still close Sublime window with Cmd-W after all tabs are gone.

How to force folder refresh in Sublime, when “Project > refresh” doesn’t work?

Open Sublime Text. Select Preferences from the top menu and click Key Bindings – User. Here you will see a JSON file that should contain an array of objects (initially the array is empty). Every object will represent a shortcut. Add the following (new shortcut object) entry into the array (between the brackets): { “keys” … Read more

How can I export/import settings of Sublime Text 3 from one PC to another using Windows?

The best way is to sync the User directory, there are multiple available ways to do this – dropbox, git and manual ways. Installed packages are registered in Package Control.sublime-settings, which is located in the user folder as well, thus, it does not require you to sync anything besides that. A pretty good guide to … Read more

Anaconda Python: where are the virtual environments stored?

If you activate the environment you’re interested in, you can find that answer in the environment variables. on MacOS/Linux: source activate python35 echo $CONDA_PREFIX on Windows: conda activate python35 echo %CONDA_PREFIX% You can also run conda info –envs, and that will show the paths to all your environments. To get the path to the instance … Read more