Skip to content

Instantly share code, notes, and snippets.

@hasssan
Last active December 26, 2015 03:29
Show Gist options
  • Save hasssan/7086099 to your computer and use it in GitHub Desktop.
Save hasssan/7086099 to your computer and use it in GitHub Desktop.
My Sublime Text 2 Settings
/**
* Sublime keymap by Hassan Aly (http://hassan.web.id)
* version 1.0
*/
[
// vim like normal mode command
{ "keys": ["n", "n"], "command": "advanced_new_file", "context": [{ "key": "setting.command_mode", "operand": true }]},
{ "keys": ["z", "a"], "command": "fold", "context": [{ "key": "setting.command_mode", "operand": true }]},
{ "keys": ["z", "i"], "command": "unfold", "context": [{ "key": "setting.command_mode", "operand": true }] },
{ "keys": ["g", "t"], "command": "next_view", "context": [{ "key": "setting.command_mode", "operand": true }] },
{ "keys": ["g", "T"], "command": "prev_view", "context": [{ "key": "setting.command_mode", "operand": true }] },
// vintageEx vi command
{
"keys": [";"], "command": "vi_colon_input",
"context":
[
{ "key": "setting.command_mode", "operator": "equal", "operand": true }
]
},
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["ctrl+j"], "command": "join_lines" },
// find next
{ "keys": ["super+g"], "command": "find_next" },
{ "keys": ["super+shift+g"], "command": "find_prev" },
{ "keys": ["ctrl+f3"], "command": "find_under" },
{ "keys": ["ctrl+shift+f3"], "command": "find_under_prev" },
{ "keys": ["alt+f3"], "command": "find_all_under" },
// sidebar enhancement
{ "keys": ["ctrl+t"], "command": "side_bar_new_file2" },
{ "keys": ["f2"], "command": "side_bar_rename" },
{ "keys": ["ctrl+alt+f"], "command": "side_bar_find_files_path_containing" }
]
/**
* Sublime Settings by Hassan Aly (http://hassan.web.id)
* version 1.0
*/
{
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
".sass-cache"
],
"font_face": "Inconsolata",
"font_size": 12,
"ignored_packages":
[
"ScrollOffset",
"SublimeCodeIntel",
"YUI Compressor",
"Theme - Soda",
"SublimeBlockCursor",
"Tag",
"Phpcs",
"SASS"
],
"rulers":
[
80
],
"vintage_ctrl_keys": true,
"vintage_start_in_command_mode": true,
"word_wrap": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment