Added printing keybinding, added comments to user preferences

This commit is contained in:
Nis Börge Wechselberg 2014-11-13 09:12:18 +01:00
parent 9e53d35ce4
commit 3c1a645f47
2 changed files with 68 additions and 9 deletions

View file

@ -2,4 +2,17 @@
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+alt+shift+p"],
"command": "export_html",
"args": {
"numbers": true,
"wrap": 900,
"browser_print": true,
"multi_select": true,
"color_scheme": "Packages/ExportHtml/ColorSchemes/Print-Color.tmTheme",
"style_gutter": false
}
}
]

View file

@ -1,14 +1,60 @@
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "UTF-8",
// Note that the font_face and font_size are overridden in the platform
// specific settings file, for example, "Preferences (Linux).sublime-settings".
// Because of this, setting them here will have no effect: you must set them
// in your User File Preferences.
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"show_encoding": true,
// Set to true to turn spell checking on by default
"spell_check": true,
// The number of spaces a tab is considered equal to
"tab_size": 2,
"translate_tabs_to_spaces": true
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// Valid values are "smooth", "phase", "blink" and "solid".
"caret_style": "phase",
// Set to true to removing trailing white space on save
"trim_trailing_white_space_on_save": true,
// Set to true to ensure the last line of the file ends in a newline
// character when saving
"ensure_newline_at_eof_on_save": true,
// Set to true to automatically save files when switching to a different file
// or application
"save_on_focus_lost": true,
// The encoding to use when the encoding can't be determined automatically.
// ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
// "fallback_encoding": "UTF-8",
// When enabled, pressing tab will insert the best matching completion.
// When disabled, tab will only trigger snippets or insert a tab.
// Shift+tab can be used to insert an explicit tab when tab_completion is
// enabled.
"tab_completion": false,
// By default, shift+tab will only unindent if the selection spans
// multiple lines. When pressing shift+tab at other times, it'll insert a
// tab character - this allows tabs to be inserted when tab_completion is
// enabled. Set this to true to make shift+tab always unindent, instead of
// inserting tabs.
"shift_tab_unindent": true,
// Display file encoding in the status bar
"show_encoding": true,
// List any packages to ignore here. When removing entries from this list,
// a restart may be required if the package contains plugins.
"ignored_packages": ["Vintage"],
// Set font for figlet plugin
"figlet_font": "banner3",
}