Created
February 7, 2014 14:14
-
-
Save theothermattm/8863331 to your computer and use it in GitHub Desktop.
Effective SublimeText Vintage Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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