Skip to content

Instantly share code, notes, and snippets.

@theothermattm
Created February 7, 2014 14:14
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 theothermattm/8863331 to your computer and use it in GitHub Desktop.
Save theothermattm/8863331 to your computer and use it in GitHub Desktop.
Effective SublimeText Vintage Configuration
// in default settings
{
// make sure this happens so vintage mode is enabled
"ignored_packages": []
}
// in user settings
{
// start in command mode instead of edit mode
"vintage_start_in_command_mode": true,
// use things like ctrl+f for forward navigation, etc.
"vintage_ctrl_keys": true,
// copy/paste to the keyboard
"vintage_use_clipboard": true
}
// in user key bindings
// this is for weird people like me who might need to remap the ctrl key to the command key b/c of their keyboard
{
{ "keys": ["super+f"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["super+b"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
}
}
// and finally, install VintageEx to enable commands: https://github.com/SublimeText/VintageEx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment