Skip to content

Instantly share code, notes, and snippets.

@reggieb
Created February 14, 2023 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reggieb/c2c314e490910ecffbcfb574bf75719a to your computer and use it in GitHub Desktop.
Save reggieb/c2c314e490910ecffbcfb574bf75719a to your computer and use it in GitHub Desktop.
Sublime settings
{
"ignored_packages":
[
"Vintage",
],
// Controls where trailing white space is removed on save.
// - "none": Do not remove any trailing white space on save.
// - "all": Remove all trailing white space on save.
// - "not_on_caret": Only remove white space that won't affect the caret.
// When used in conjunction with "save_on_focus_lost" and
// certain desktop environments that frequently make the
// application lose focus this avoids the caret jumping
// around a lot.
"trim_trailing_white_space_on_save": "all",
// Only trim white space on save for the parts of a file that have been
// modified by you. If there is trailing white space in other parts of the
// file they are left alone.
"trim_only_modified_white_space": 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,
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// Spacing between the gutter and the text
"margin": 4,
// Enable auto complete to be triggered automatically when typing.
"auto_complete": false,
}
@reggieb
Copy link
Author

reggieb commented Feb 14, 2023

Also these keybindings:

[
	{ "keys": ["super+alt+s"], "command": "prompt_save_as" },
	{ "keys": ["super+shift+s"], "command": "save_all" },	
]

@reggieb
Copy link
Author

reggieb commented Mar 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment