Hopefully you have worked your way through the preceding concepts section. Even if you are overloaded with details you can't recall you'll hopefully know where to find reminders.
If you've just jumped right to this section that's cool, we'll try and cater for you but there's nothing quite like doing surveillance before dropping the troops in.
Setting up your favorite font globally is as simple as opening the User
File Preferences.
Per-font anti-aliasing can be specified, by appending option to the name:
If you'd like to set different fonts for different languages then look in the Per-type
preferences
This is very easy to do and it's quite obvious how.
What's not so obvious is that Sublime can set up themes per filetype.
This one isn't available from the preferences menu (yet).
Open up %APPDATA%\SublimeText\Packages\Theme - Default\Default.sublime-theme
and make the edits as seen below adjusting to taste.
Sublime has very rich keybinding declarations. Almost all of the bindings are fully customizable ( the exception being some QuickPanel and FindPanel navigation commands which hard bind up/down/tab to move between fields ).
All paths mentioned below are relative to the Packages dir (typically %APPDATA%\Sublime Text\Packages
)
keymapset in
Default\Options\Application.sublime-options
Default\Default.sublime-keymapwhich contains some instructions for setting bindings
Default/Default.sublime-keymapinto the
User/Default.sublime-keymap
Useroverrides
Default
For <bindings> there is actually no conflict resolution whatsoever.
It loads each Package's Default.sublime-keymap in alphabetical order and from top to bottom within each file collecting all the <bindings> in one big list
A/Default.sublime-keymaptop of file
A/Default.sublime-keymapbottom of file
Z/Default.sublime-keymapbottom of file
When looking for a binding that matches it will start from the top of the big list mentioned above, (Z/Default.sublime-keymap) working from the last binding to the first. It takes the first one that matches and runs the bound command.
Zbottom of last file loaded
Atop of first file loaded.
This means that you should put your most specific keybindings at the end of your sublime-keymap files and where possible give it a scope specific to the Package to avoid inter package conflict. ie python snippets should use
Comments
blog comments powered by Disqus