//用解压器"在Sublime Text 3x86\Packages打开Color Scheme - Default.sublime-package"把Monokai.tmTheme文件解压到桌面然后用sublime打开新增下面的代码,然后保存把文件拖回去关闭解压器即可
//可以把文件放到这个文件夹下Data\Packages\User\Color Highlighter\作为自己的配色
// <dict>
// <key>name</key>
// <string>Tag name other</string>
// <key>scope</key>
// <string>entity.name.tag.other.html</string>
// <key>settings</key>
// <dict>
// <key>fontStyle</key>
// <string></string>
// <key>foreground</key>
// <string>#03AC1D</string>
// </dict>
// </dict>
//空格转换为标签注意,当发现转换后还有些空格没转换,接着设置标签为2然后,再转化为标签,然后在设置标签为4即可.
//alignment 等号对齐
//autoFileName 快捷输入文件名
//Bracket Hightlighter 代码匹配标签或括号
//DocBlockr 生成优美注释
//FileDiffs 代码对比工具
//Git git管理
//gitgutter
//less 高亮插件
//markdown Editing markdown 编写
//omniMarkuppreviewer markdown预览转html
//nodejs node代码提示
//package control 插件管理
//trailing spaces 检测并一建去除代码中多余空格并会高亮显示多余空格
//Autoprefixer css添加私有前缀
//color highlighter 颜色代码显示,还可以弹出调试工具
//CovertToUTF8 文本转码成uft-8
//Emmet 编码快捷键
//csscomb CSS属性进行排序的格式化插件
//.csslintrc .jshintrc .htmlhintrc 文件花括号倒数第一个句尾不能有逗号否则会出错
//修改html css js prettify 格式化 需要node.js支持,修改set prettify options 路径 "windows": "D:/Program Files/nodejs/node.exe",接着修改set prettift preferences添加规则文件名"jshintrc","csslintrc","htmlhintrc"到各自的下,添加空格转tab制表符分别添加"indent_with_tabs": true,
//修改markdown editing 分别添加到三个模板上文件
// { // Layout
// "draw_centered": false,
// "word_wrap": "auto",
// "wrap_width": 0,
// "rulers": [],
// }
//注释omniMarkuppreviewer markdown默认快捷键,用右键更加方便
//alignment 设置对齐规则这个设置用在markdown中使用,一般有了格式化工具就不用这个了,复制下面的
//{
// // If the indent level of a multi-line selection should be aligned
// // true 则把选择的多行的 不同缩进级别也变成相同的缩进(最大的缩紧级别)
// //false 只是对齐,不改变缩进级别
// "align_indent": true,//
// // If indentation is done via tabs, set this to true to also align
// // mid-line characters via tabs. This may cause alignment issues when
// // viewing the file in an editor with different tab width settings. This
// // will also cause multi-character operators to be left-aligned to the
// // first character in the operator instead of the character from the
// // "alignment_chars" setting.
// // 如果你的文本是使用Tab键缩进排版,设置该变量为true时,那么该插件在对齐文本的时候也使用Tab键来对齐缩进。但是这样可能会出现问题,因为Tab键在不同的编辑器上代表的空格数可能不同
// "mid_line_tabs": true,
// // The mid-line characters to align in a multi-line selection, changing
// // this to an empty array will disable mid-line alignment
// // Alignment_chars 对齐字符 可以设置依据什么对齐 默认只对齐”=”//下面是针对markdown设置
// "alignment_chars": [" ","=","|"],
// // If the following character is matched for alignment, insert a space
// // before it in the final alignment
// // Alignment_space_chars 与上面一样 但是他的子集 如果这里包含上面那个字符 则对齐后 = 号前面会加一个空格 反之 则没有
// // "alignment_space_chars": ["="],
// // The characters to align along with "alignment_chars"
// // For instance if the = is to be aligned, there are a number of
// // symbols that can be combined with the = to make an operator, and all
// // of those must be kept next to the = for the operator to be parsed
// // Alignment_prefix_chars 前缀符号 alignment_chars 离得字符可以拥有的前缀符号 跟随=号一起对齐
// "alignment_prefix_chars": [
// // "+", "-", "&", "|", "<", ">", "!", "~", "%", "/", "*", "."
// ]
// }
// css补全前缀的配置说明
// last 2 versions 每一个主要浏览器的最后2个版本
// last 2 Chrome versions 谷歌浏览器的最后两个版本
// > 5% 市场占有量大于5%
// > 5% in US 美国市场占有量大于5%
// ie 6-8 ie浏览器6-8
// Firefox > 20 火狐版本>20
// Firefox >= 20 火狐版本>=20
// Firefox < 20 火狐<20
// Firefox <= 20 火狐<=20
// iOS 7 指定IOS 7浏览器
// "browsers": ["last 6 versions", "> 1%","> 1% in CN", "ie 8", "ie 7"],例如浏览器最后6个版本,市场份额大于3,中国市场份额大于,ie8,ie7浏览器
// 一般我用这个 "browsers": ["last 50 versions",/*"Firefox < 20", "opera < 15" , "> 1%", "> 0% in CN"*/],
//个人快捷键设置
[
//在各个打开相应浏览器的快捷键需设置浏览器路径,可以利用本地快捷搜索神器搜索路径复制路径即可,注意斜杠,注意在外层中括号只有一个
{ "keys": ["f1"], "command": "find_under_expand" },//选中同单词
{ "keys": ["f2"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"} },//下插一行
{ "keys": ["f3"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"} },//上插一行
{ "keys": ["f4"], "command": "cut" },//剪切整行
{ "keys": ["f5"], "command": "show_panel", "args": {"panel": "find", "reverse": false} },//搜索
{ "keys": ["f6"], "command": "toggle_setting", "args": {"setting": "spell_check"} },//单词拼写
{ "keys": ["f7"], "command": "swap_line_up" },//当前行上移
{ "keys": ["f8"], "command": "swap_line_down" },//当前行上移
{ "keys": ["f10"], "command": "copy" },//复制
{ "keys": ["f11"], "command": "paste" },//粘贴
{ "keys": ["f12"], "command": "duplicate_line" },//复制光标所在整行,插入到下一行。
{ "keys": ["alt+i"], "command": "autoprefixer" },//css补全前缀
//
{ "keys": ["ctrl+shift+c"], "command": "copy_path" },
//chrome
{ "keys": ["ctrl+1"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "D:\\Program Files\\GoogleChrome_46.0.2490.86_PortableSoft/GoogleChromePortable\\App\\Google Chrome\\chrome.exe",
"extensions":".*"
}
},
//safari
{ "keys": ["ctrl+2"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "D:\\Program Files (x86)\\Safari\\safari.exe",
"extensions":".*"
}
},
//firefox
{ "keys": ["ctrl+3"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "D:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
"extensions":".*" //匹配任何文件类型
}
},
//ie
{ "keys": ["ctrl+4"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
"extensions":".*"
}
},
//opera
{ "keys": ["ctrl+5"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "D:\\Program Files\\Opera\\launcher.exe",
"extensions":".*"
}
},
{ "keys": ["ctrl+6"], "command": "open_in_browser"},//按f12默认浏览器中打开文件
//{ "keys": ["ctrl+shift+d"], "command": "css_comb" },//css按书写顺序排列,没安装
//{ "keys": ["ctrl+shift+t"],"command":"delete_trailing_spaces" },//一建清除多余的空格,没安装
{ "keys": ["ctrl+alt+q"], "command": "alignment" },//alignment 代码对齐快捷键
{ "keys": ["ctrl+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}},//换行显示方式快捷键
{ "keys": ["ctrl+t"], "command": "transpose" },//前面的一个字母往后移动
{ "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },//搜索函数名
{ "keys": ["ctrl+g"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },//跳转到指定行
{ "keys": ["ctrl+;"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} },//搜索变量名属性名
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },//搜索整个项目的文件并预览
{ "keys": ["ctrl+m"], "command": "move_to", "args": {"to": "brackets"} },//跳转到配对括号内的两边
{ "keys": ["ctrl+j"], "command": "join_lines" },//合并选中的多行代码为一行。默认选择和下一行合并
{ "keys": ["ctrl+k", "ctrl+l"], "command": "lower_case" },//选中当前行
{"keys": ["ctrl+k"], "command": "toggle_side_bar"},//展开左侧导航
{"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context"://按enter跳出空格
[
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"\\ %>\\}\\;\\,]", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*\\{$", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+g"], "command": "move_to", "args": {"to": "bol", "extend": false} },//跳转到行开头
{ "keys": ["alt+h"], "command": "move_to", "args": {"to": "eol", "extend": false} },//跳转到行末尾
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true} },//选择当前行光标位置到开头的内容
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },//选择当前行光标位置到结尾的内容
{ "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "bof", "extend": false} },//跳到文章开头
{ "keys": ["ctrl+end"], "command": "move_to", "args": {"to": "eof", "extend": false} },//跳到文章结尾
{ "keys": ["ctrl+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true} },//选择光标位置到文章开头的内容
{ "keys": ["ctrl+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} },//选择光标位置到文章结尾的内容
{ "keys": ["alt+f"], "command": "move", "args": {"by": "characters", "forward": false} },//左
{ "keys": ["alt+j"], "command": "move", "args": {"by": "characters", "forward": true} },//右
{ "keys": ["alt+r"], "command": "move", "args": {"by": "lines", "forward": false} },//上
{ "keys": ["alt+m"], "command": "move", "args": {"by": "lines", "forward": true} },//下
{ "keys": ["alt+z"], "command": "expand_selection", "args": {"to": "tag"} },//选中当前标签再次按键由内到外扩展标签内容
{ "keys": ["alt+["], "command": "fold" },//折叠
{ "keys": ["alt+]"], "command": "unfold" },//展开
{ "keys": ["alt+1"], "command": "fold_by_level", "args": {"level": 1} },//折叠全部
{ "keys": ["alt+2"], "command": "fold_by_level", "args": {"level": 2} },//折叠2级
{ "keys": ["alt+3"], "command": "fold_by_level", "args": {"level": 3} },//折叠3级
{ "keys": ["alt+4"], "command": "fold_by_level", "args": {"level": 4} },//折叠4级
{ "keys": ["alt+5"], "command": "fold_by_level", "args": {"level": 5} },//折叠5级
{ "keys": ["alt+6"], "command": "fold_by_level", "args": {"level": 6} },//折叠6级
{ "keys": ["alt+7"], "command": "fold_by_level", "args": {"level": 7} },//折叠7级
{ "keys": ["alt+8"], "command": "fold_by_level", "args": {"level": 8} },//折叠8级
{ "keys": ["alt+9"], "command": "fold_by_level", "args": {"level": 9} },//折叠9级
{ "keys": ["alt+`"], "command": "unfold_all" },//展开全部
{ "keys": ["alt+p"], "command": "fold_tag_attributes" },//折叠标签属性
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 20.0 } },//上移屏幕20行
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -20.0 } },//下移屏幕20行
{//颜色高亮color hightlighter 快捷键,需要解压Installed Packages文件夹到Packages里才可以注释原默认快捷键以免冲突
"keys": ["ctrl+shift+o"],
"command": "color_picker",
"context": [
{
"key": "color_highlighter.color_picker"
}
]
},
//emmet用户快捷键设置需注释条原默认快捷键,但是部分不需注释
{
"keys": [
"alt+a"//光标在匹配成对标签的开头
],
"args": {
"action": "matching_pair"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.matching_pair"
}
]
},
{
"keys": [
"alt+up"//滚动数字递增1
],
"args": {
"action": "increment_number_by_1"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.increment_number_by_1"
}
]
},
{
"keys": [
"alt+down"//滚动数字递减1
],
"args": {
"action": "decrement_number_by_1"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.decrement_number_by_1"
}
]
},
{
"keys": [
"shift+alt+up"//滚动数字递增10
],
"args": {
"action": "increment_number_by_10"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.increment_number_by_10"
}
]
},
{
"keys": [
"shift+alt+down"//滚动数字递减10
],
"args": {
"action": "decrement_number_by_10"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.decrement_number_by_10"
}
]
},
// {
// "keys": [
// "alt+left"//滚动数字递增0.1
// ],
// "args": {
// "action": "increment_number_by_01"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.increment_number_by_01"
// }
// ]
// },
// {
// "keys": [
// "alt+right"//滚动数字递减0.1
// ],
// "args": {
// "action": "decrement_number_by_01"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.decrement_number_by_01"
// }
// ]
// },
{
"keys": [
"alt+t"//改位置增加父层标签
],
"command": "wrap_as_you_type",
"context": [
{
"operand": false,
"operator": "equal",
"match_all": true,
"key": "setting.is_widget"
},
{
"match_all": true,
"key": "emmet_action_enabled.wrap_as_you_type"
}
]
},
{
"keys": [
"alt+y"//删除父层标签,变为父层
],
"args": {
"action": "remove_tag"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.remove_tag"
}
]
},
{
"keys": [
"alt+d"//上一个内容
],
"args": {
"action": "prev_edit_point"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.prev_edit_point"
}
]
},
{
"keys": [
"alt+k"//下一个内容
],
"args": {
"action": "next_edit_point"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.next_edit_point"
}
]
},
{
"keys": [
"alt+s"//上一个属性
],
"args": {
"action": "select_previous_item"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.select_previous_item"
}
]
},
{
"keys": [
"alt+l"//下一个属性
],
"args": {
"action": "select_next_item"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.select_next_item"
}
]
},
{
"keys": [
"alt+v"//添加标签
],
"command": "expand_as_you_type",
"context": [
{
"operand": false,
"operator": "equal",
"match_all": true,
"key": "setting.is_widget"
},
{
"match_all": true,
"key": "emmet_action_enabled.expand_as_you_type"
}
]
},
{
"keys": [
"alt+n"//修改标签
],
"command": "rename_tag",
"context": [
{
"key": "emmet_action_enabled.rename_tag"
}
]
},
{
"keys": [
"alt+b"//闭合切换
],
"args": {
"action": "split_join_tag"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.split_join_tag"
}
]
},
// {
// "keys": [
// "shift+ctrl+r"
// ],
// "args": {
// "action": "reflect_css_value"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.reflect_css_value"
// }
// ]
// },
// {
// "keys": [
// "ctrl+'"
// ],
// "args": {
// "action": "encode_decode_data_url"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.encode_decode_data_url"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+y"
// ],
// "args": {
// "action": "evaluate_math_expression"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.evaluate_math_expression"
// }
// ]
// },
{
"keys": [
"alt+;"//向内扩展
],
"args": {
"action": "balance_inward"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.balance_inward"
}
]
},
{
"keys": [
"alt+'"//向外扩展
],
"args": {
"action": "balance_outward"
},
"command": "run_emmet_action",
"context": [
{
"key": "emmet_action_enabled.balance_outward"
}
]
},
// {
// "keys": [
// "ctrl+shift+forward_slash"
// ],
// "args": {
// "action": "toggle_comment"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "operand": "source.css, source.less, source.scss, text.xml, text.html - source",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.toggle_comment"
// }
// ]
// },
// {
// "keys": [
// "ctrl+shift+u"
// ],
// "command": "update_as_you_type", //更新输入
// "context": [
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "setting.is_widget"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.update_as_you_type"
// }
// ]
// },
// {
// "keys": [
// "ctrl+u"
// ],
// "args": {
// "action": "update_image_size"//改变图片大小
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.update_image_size"
// }
// ]
// },
//插件highlighter颜色快捷键设置
{
"keys": ["ctrl+shift+c"],
"command": "color_picker",
"context": [
{
"key": "color_highlighter.color_picker"
}
]
},
// {
// "keys": ["ctrl+shift+a"],
// "command": "color_convert",
// "context": [
// {
// "key": "color_highlighter.color_convert"
// }
// ]
// },
// {
// "keys": ["ctrl+shift+,"],
// "command": "color_convert_prev",
// "context": [
// {
// "key": "color_highlighter.color_convert_prev"
// }
// ]
// },
// {
// "keys": ["ctrl+shift+."],
// "command": "color_convert_next",
// "context": [
// {
// "key": "color_highlighter.color_convert_next"
// }
// ]
// },
// {
// "keys": ["ctrl+alt+d"],
// "command": "go_to_var_definition",
// "context": [
// {
// "key": "color_highlighter.go_to_var_definition"
// }
// ]
// }
]
//breckethightlight标签高亮设置
// {
// "bracket_styles": {
// "default": {
// "icon": "dot",
// "color": "brackethighlighter.default",
// "style": "outline"
// },
// "unmatched": {
// "icon": "question",
// "color": "brackethighlighter.unmatched",
// "style": "outline"
// },
// "curly": {
// "icon": "curly_bracket",
// "color": "brackethighlighter.curly",
// "style": "outline"
// },
// "round": {
// "icon": "round_bracket",
// "color": "brackethighlighter.round",
// "style": "outline"
// },
// "square": {
// "icon": "square_bracket",
// "color": "brackethighlighter.square",
// "style": "outline"
// },
// "angle": {
// "icon": "angle_bracket",
// "color": "brackethighlighter.angle",
// "style": "outline"
// },
// "tag": {
// "icon": "tag",
// // "endpoints": true,
// "color": "brackethighlighter.tag",
// "style": "outline"
// },
// "c_define": {
// "icon": "hash",
// "color": "brackethighlighter.c_define",
// "style": "outline"
// },
// "single_quote": {
// "icon": "single_quote",
// "color": "brackethighlighter.single_quote",
// "style": "outline"
// },
// "double_quote": {
// "icon": "double_quote",
// "color": "brackethighlighter.double_quote",
// "style": "outline"
// },
// "regex": {
// "icon": "regex",
// "color": "brackethighlighter.quote",
// "style": "outline"
// }
// }
// }
//emmet用户主题设置
// {
// // Output profiles for syntaxes
// // http://docs.emmet.io/customization/syntax-profiles/
// "syntaxProfiles": {
// // Enable XHTML dialect for HTML syntax
// "html": "xhtml"
// //
// // Write chained CSS abbreviations on single line:
// // "css": "css_line"
// }
// }
//默认主题设置
// {
// "auto_complete": false,//关闭代码自动补全
// "auto_find_in_selection": true,//开启选中范围内搜索
// "bold_folder_labels": true,//是否显示侧边栏文件夹
// "caret_extra_top" : 1 ,超出光标上方的额外距离
// "caret_extra_bottom" : 1 ,超出光标下方的额外距离
// "caret_extra_width" : 1,超出光标宽度
// "color_scheme": "Packages/User/Color Highlighter/themes/Monokai_hedonglin.tmTheme",//主题文件
// "ensure_newline_at_eof_on_save": true,//保存文件时光标会在文件的最后向下换一行
// "font_face":"Inconsolata",//字体类型
// "default_encoding": "UTF-8",
// //"dpi_scale": 1.0//文件名乱码才需要这句,但是如果设置后文件文字变小
// "draw_centered": false,//文件居中是否显示
// "draw_white_space": "all",//是否显示制表符或空格或全部显示
// "font_size": 12.0,//字体大小
// "highlight_modified_tabs": true,//高亮未保存文件
// "highlight_line": true,//突显光标所在行
// "ignored_packages":["Vintage"],//删除你想要忽略的插件,需要重启
// "indent_guide_options": ["draw_normal"],//显示控制线
// "line_numbers": true,//是否显示行号
// "match_tags": true,//突出显示标签两端
// "rulers":[],//列显示垂直标尺,在中括号里填入数字,宽度按字符计算
// "save_on_focus_lost": false,//切换到其它文件标签或点击其它非本软件区域,文件自动保存
// "scroll_past_end": true,//设置为false时,滚动到文本的最下方时,没有缓冲区
// "show_full_path": true,//在标题栏显示绝对路径
// "spell_check": false,//是否打开拼音检测
// "tab_size": 4,//制表符宽度
// "theme": "Soda Dark 3.sublime-theme",//主题
// "translate_tabs_to_spaces": false,//设为true时,缩进和遇到Tab键时使用空格替代
// "trim_trailing_white_space_on_save": false,//为true时,保存文件时会删除每行结束后多余的空格
// "update_check": false,//是否自动更新
// "word_wrap": "auto",//是否自动换行,如果选auto,需要加双引号
// "itg_scrollbar_medium": true,
// "itg_scrollbar_small": true,
// "itg_sidebar_tree_large": true,
// "itg_sidebar_tree_medium": true,
// "itg_sidebar_tree_small": true,
// "itg_sidebar_tree_xlarge": true,
// "itg_sidebar_tree_xsmall": true,
// "itg_small_tabs": true,
// "theme": "predawn.sublime-theme",//
// "theme": "itg.flat.dark.sublime-theme",//另一种主题
// }
//emmet默认快捷键设置
// // This file is automatically generated with misc/generate-keymap.py script
// [
// // {
// // "keys": [
// // "shift+ctrl+;"//删除父层标签,变为父层
// // ],
// // "args": {
// // "action": "remove_tag"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.remove_tag"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+up"//滚动数字递增1
// // ],
// // "args": {
// // "action": "increment_number_by_1"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.increment_number_by_1"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+shift+forward_slash"
// // ],
// // "args": {
// // "action": "toggle_comment"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "operand": "source.css, source.less, source.scss, text.xml, text.html - source",
// // "operator": "equal",
// // "match_all": true,
// // "key": "selector"
// // },
// // {
// // "match_all": true,
// // "key": "emmet_action_enabled.toggle_comment"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+."//下一个属性
// // ],
// // "args": {
// // "action": "select_next_item"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.select_next_item"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+alt+enter"//添加标签
// // ],
// // "command": "expand_as_you_type",
// // "context": [
// // {
// // "operand": false,
// // "operator": "equal",
// // "match_all": true,
// // "key": "setting.is_widget"
// // },
// // {
// // "match_all": true,
// // "key": "emmet_action_enabled.expand_as_you_type"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "alt+down"//滚动数字递减0.1
// // ],
// // "args": {
// // "action": "decrement_number_by_01"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.decrement_number_by_01"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+'"
// // ],
// // "args": {
// // "action": "encode_decode_data_url"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.encode_decode_data_url"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+y"
// // ],
// // "args": {
// // "action": "evaluate_math_expression"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.evaluate_math_expression"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+shift+0"
// // ],
// // "args": {
// // "action": "balance_inward"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.balance_inward"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+,"
// // ],
// // "args": {
// // "action": "balance_outward"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.balance_outward"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+alt+up"//滚动数字递增10
// // ],
// // "args": {
// // "action": "increment_number_by_10"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.increment_number_by_10"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+r"
// // ],
// // "args": {
// // "action": "reflect_css_value"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.reflect_css_value"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+alt+left"//上一个内容
// // ],
// // "args": {
// // "action": "prev_edit_point"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.prev_edit_point"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+,"//上一个属性
// // ],
// // "args": {
// // "action": "select_previous_item"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.select_previous_item"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+u"
// // ],
// // "args": {
// // "action": "update_image_size"//改变图片大小
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.update_image_size"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+alt+right"下一个内容
// // ],
// // "args": {
// // "action": "next_edit_point"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.next_edit_point"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+`"//闭合切换
// // ],
// // "args": {
// // "action": "split_join_tag"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.split_join_tag"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+alt+down"//滚动数字递减10
// // ],
// // "args": {
// // "action": "decrement_number_by_10"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.decrement_number_by_10"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+g"//改位置增加父层标签
// // ],
// // "command": "wrap_as_you_type",
// // "context": [
// // {
// // "operand": false,
// // "operator": "equal",
// // "match_all": true,
// // "key": "setting.is_widget"
// // },
// // {
// // "match_all": true,
// // "key": "emmet_action_enabled.wrap_as_you_type"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "shift+ctrl+'"//修改标签
// // ],
// // "command": "rename_tag",
// // "context": [
// // {
// // "key": "emmet_action_enabled.rename_tag"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "alt+up"//滚动数字递增0.1
// // ],
// // "args": {
// // "action": "increment_number_by_01"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.increment_number_by_01"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+shift+u"
// // ],
// // "command": "update_as_you_type",
// // "context": [
// // {
// // "operand": false,
// // "operator": "equal",
// // "match_all": true,
// // "key": "setting.is_widget"
// // },
// // {
// // "match_all": true,
// // "key": "emmet_action_enabled.update_as_you_type"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+alt+j"//光标在匹配成对标签的开头
// // ],
// // "args": {
// // "action": "matching_pair"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.matching_pair"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+down"//滚动数字递减1
// // ],
// // "args": {
// // "action": "decrement_number_by_1"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.decrement_number_by_1"
// // }
// // ]
// // },
// // {
// // "keys": [
// // "ctrl+e"//扩展标签
// // ],
// // "args": {
// // "action": "expand_abbreviation"
// // },
// // "command": "run_emmet_action",
// // "context": [
// // {
// // "key": "emmet_action_enabled.expand_abbreviation"
// // }
// // ]
// // },
// {
// "keys": [
// "tab"
// ],
// "command": "expand_abbreviation_by_tab",
// "context": [
// {
// "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": "storage.type.templatetag.django",
// "operator": "not_equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "selection_empty"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "has_next_field"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "setting.disable_tab_abbreviations"
// },
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "match_all": true,
// "key": "is_abbreviation"
// }
// ]
// },
// {
// "keys": [
// "tab"
// ],
// "command": "expand_abbreviation_by_tab",
// "context": [
// {
// "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": "storage.type.templatetag.django",
// "operator": "not_equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "selection_empty"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "has_next_field"
// },
// {
// "operator": "equal",
// "operand": true,
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "setting.disable_tab_abbreviations_on_auto_complete"
// },
// {
// "match_all": true,
// "key": "is_abbreviation"
// }
// ]
// },
// {
// "keys": [
// "enter"
// ],
// "args": {
// "contents": "\n\t${0}\n"
// },
// "command": "insert_snippet",
// "context": [
// {
// "operand": "meta.scope.between-tag-pair.html, meta.scope.between-tag-pair.xml",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": false,
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "match_all": true,
// "key": "clear_fields_on_enter_key"
// },
// {
// "operand": false,
// "match_all": true,
// "key": "setting.disable_formatted_linebreak"
// }
// ]
// },
// {
// "keys": [
// "#"
// ],
// "args": {
// "attribute": "id"
// },
// "command": "emmet_insert_attribute",
// "context": [
// {
// "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html -source -meta.tag.template.value.twig",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operator": "equal",
// "operand": true,
// "key": "setting.auto_id_class"
// }
// ]
// },
// {
// "keys": [
// "."
// ],
// "args": {
// "attribute": "class"
// },
// "command": "emmet_insert_attribute",
// "context": [
// {
// "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html -source -meta.tag.template.value.twig",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operator": "equal",
// "operand": true,
// "key": "setting.auto_id_class"
// }
// ]
// }
// ]
//默认快捷键
// [
// { "keys": ["ctrl+shift+n"], "command": "new_window" },
// { "keys": ["ctrl+shift+w"], "command": "close_window" },
// { "keys": ["ctrl+o"], "command": "prompt_open_file" },
// { "keys": ["ctrl+shift+t"], "command": "reopen_last_file" },
// { "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} },
// { "keys": ["ctrl+n"], "command": "new_file" },
// { "keys": ["ctrl+s"], "command": "save" },
// { "keys": ["ctrl+shift+s"], "command": "prompt_save_as" },
// { "keys": ["ctrl+f4"], "command": "close_file" },
// { "keys": ["ctrl+w"], "command": "close" },
// { "keys": ["ctrl+k", "ctrl+b"], "command": "toggle_side_bar" },
// { "keys": ["f11"], "command": "toggle_full_screen" },
// { "keys": ["shift+f11"], "command": "toggle_distraction_free" },
// { "keys": ["backspace"], "command": "left_delete" },
// { "keys": ["shift+backspace"], "command": "left_delete" },
// { "keys": ["ctrl+shift+backspace"], "command": "left_delete" },
// { "keys": ["delete"], "command": "right_delete" },
// { "keys": ["enter"], "command": "insert", "args": {"characters": "\n"} },
// { "keys": ["shift+enter"], "command": "insert", "args": {"characters": "\n"} },
// { "keys": ["ctrl+z"], "command": "undo" },
// { "keys": ["ctrl+shift+z"], "command": "redo" },
// { "keys": ["ctrl+y"], "command": "redo_or_repeat" },
// { "keys": ["ctrl+u"], "command": "soft_undo" },
// { "keys": ["ctrl+shift+u"], "command": "soft_redo" },
// { "keys": ["shift+delete"], "command": "cut" },
// { "keys": ["ctrl+insert"], "command": "copy" },
// { "keys": ["shift+insert"], "command": "paste" },
// { "keys": ["ctrl+x"], "command": "cut" },
// { "keys": ["ctrl+c"], "command": "copy" },
// { "keys": ["ctrl+v"], "command": "paste" },
// { "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
// { "keys": ["ctrl+k", "ctrl+v"], "command": "paste_from_history" },
// { "keys": ["left"], "command": "move", "args": {"by": "characters", "forward": false} },
// { "keys": ["right"], "command": "move", "args": {"by": "characters", "forward": true} },
// { "keys": ["up"], "command": "move", "args": {"by": "lines", "forward": false} },
// { "keys": ["down"], "command": "move", "args": {"by": "lines", "forward": true} },
// { "keys": ["shift+left"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} },
// { "keys": ["shift+right"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} },
// { "keys": ["shift+up"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} },
// { "keys": ["shift+down"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} },
// { "keys": ["ctrl+left"], "command": "move", "args": {"by": "words", "forward": false} },
// { "keys": ["ctrl+right"], "command": "move", "args": {"by": "word_ends", "forward": true} },
// { "keys": ["ctrl+shift+left"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} },
// { "keys": ["ctrl+shift+right"], "command": "move", "args": {"by": "word_ends", "forward": true, "extend": true} },
// { "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
// { "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
// { "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
// { "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
// { "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
// { "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
// { "keys": ["pageup"], "command": "move", "args": {"by": "pages", "forward": false} },
// { "keys": ["pagedown"], "command": "move", "args": {"by": "pages", "forward": true} },
// { "keys": ["shift+pageup"], "command": "move", "args": {"by": "pages", "forward": false, "extend": true} },
// { "keys": ["shift+pagedown"], "command": "move", "args": {"by": "pages", "forward": true, "extend": true} },
// { "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false} },
// { "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} },
// { "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true} },
// { "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
// { "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "bof", "extend": false} },
// { "keys": ["ctrl+end"], "command": "move_to", "args": {"to": "eof", "extend": false} },
// { "keys": ["ctrl+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true} },
// { "keys": ["ctrl+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} },
// { "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } },
// { "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } },
// { "keys": ["ctrl+pagedown"], "command": "next_view" },
// { "keys": ["ctrl+pageup"], "command": "prev_view" },
// { "keys": ["ctrl+tab"], "command": "next_view_in_stack" },
// { "keys": ["ctrl+shift+tab"], "command": "prev_view_in_stack" },
// { "keys": ["ctrl+a"], "command": "select_all" },
// { "keys": ["ctrl+shift+l"], "command": "split_selection_into_lines" },
// { "keys": ["escape"], "command": "single_selection", "context":
// [
// { "key": "num_selections", "operator": "not_equal", "operand": 1 }
// ]
// },
// { "keys": ["escape"], "command": "clear_fields", "context":
// [
// { "key": "has_next_field", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["escape"], "command": "clear_fields", "context":
// [
// { "key": "has_prev_field", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["escape"], "command": "hide_panel", "args": {"cancel": true},
// "context":
// [
// { "key": "panel_visible", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["escape"], "command": "hide_overlay", "context":
// [
// { "key": "overlay_visible", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["escape"], "command": "hide_auto_complete", "context":
// [
// { "key": "auto_complete_visible", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": true} },
// { "keys": ["tab"], "command": "insert_best_completion", "args": {"default": "\t", "exact": false},
// "context":
// [
// { "key": "setting.tab_completion", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["tab"], "command": "replace_completion_with_next_completion", "context":
// [
// { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
// { "key": "setting.tab_completion", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["tab"], "command": "reindent", "context":
// [
// { "key": "setting.auto_indent", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_match", "operand": "^$", "match_all": true },
// { "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true }
// ]
// },
// { "keys": ["tab"], "command": "indent", "context":
// [
// { "key": "text", "operator": "regex_contains", "operand": "\n" }
// ]
// },
// { "keys": ["tab"], "command": "next_field", "context":
// [
// { "key": "has_next_field", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["tab"], "command": "commit_completion", "context":
// [
// { "key": "auto_complete_visible" },
// { "key": "setting.auto_complete_commit_on_tab" }
// ]
// },
// { "keys": ["shift+tab"], "command": "insert", "args": {"characters": "\t"} },
// { "keys": ["shift+tab"], "command": "unindent", "context":
// [
// { "key": "setting.shift_tab_unindent", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["shift+tab"], "command": "unindent", "context":
// [
// { "key": "preceding_text", "operator": "regex_match", "operand": "^[\t ]*" }
// ]
// },
// { "keys": ["shift+tab"], "command": "unindent", "context":
// [
// { "key": "text", "operator": "regex_contains", "operand": "\n" }
// ]
// },
// { "keys": ["shift+tab"], "command": "prev_field", "context":
// [
// { "key": "has_prev_field", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["ctrl+]"], "command": "indent" },
// { "keys": ["ctrl+["], "command": "unindent" },
// { "keys": ["insert"], "command": "toggle_overwrite" },
// { "keys": ["ctrl+l"], "command": "expand_selection", "args": {"to": "line"} },
// { "keys": ["ctrl+d"], "command": "find_under_expand" },
// { "keys": ["ctrl+k", "ctrl+d"], "command": "find_under_expand_skip" },
// { "keys": ["ctrl+shift+space"], "command": "expand_selection", "args": {"to": "scope"} },
// { "keys": ["ctrl+shift+m"], "command": "expand_selection", "args": {"to": "brackets"} },
// { "keys": ["ctrl+m"], "command": "move_to", "args": {"to": "brackets"} },
// { "keys": ["ctrl+shift+j"], "command": "expand_selection", "args": {"to": "indentation"} },
// { "keys": ["ctrl+shift+a"], "command": "expand_selection", "args": {"to": "tag"} },
// { "keys": ["alt+."], "command": "close_tag" },
// { "keys": ["ctrl+q"], "command": "toggle_record_macro" },
// { "keys": ["ctrl+shift+q"], "command": "run_macro" },
// { "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"} },
// { "keys": ["ctrl+shift+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"} },
// { "keys": ["enter"], "command": "commit_completion", "context":
// [
// { "key": "auto_complete_visible" },
// { "key": "setting.auto_complete_commit_on_tab", "operand": false }
// ]
// },
// { "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// { "keys": ["ctrl+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
// { "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" },
// { "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
// { "keys": ["ctrl+g"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
// { "keys": ["ctrl+;"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} },
// { "keys": ["f12"], "command": "goto_definition" },
// { "keys": ["ctrl+shift+r"], "command": "goto_symbol_in_project" },
// { "keys": ["alt+keypad_minus"], "command": "jump_back" },
// { "keys": ["alt+shift+keypad_minus"], "command": "jump_forward" },
// { "keys": ["alt+-"], "command": "jump_back" },
// { "keys": ["alt+shift+-"], "command": "jump_forward" },
// { "keys": ["ctrl+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} },
// { "keys": ["ctrl+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} },
// { "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} },
// { "keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} },
// { "keys": ["ctrl+shift+h"], "command": "replace_next" },
// { "keys": ["f3"], "command": "find_next" },
// { "keys": ["shift+f3"], "command": "find_prev" },
// { "keys": ["ctrl+f3"], "command": "find_under" },
// { "keys": ["ctrl+shift+f3"], "command": "find_under_prev" },
// { "keys": ["alt+f3"], "command": "find_all_under" },
// { "keys": ["ctrl+e"], "command": "slurp_find_string" },
// { "keys": ["ctrl+shift+e"], "command": "slurp_replace_string" },
// { "keys": ["ctrl+shift+f"], "command": "show_panel", "args": {"panel": "find_in_files"} },
// { "keys": ["f4"], "command": "next_result" },
// { "keys": ["shift+f4"], "command": "prev_result" },
// { "keys": ["f6"], "command": "toggle_setting", "args": {"setting": "spell_check"} },
// { "keys": ["ctrl+f6"], "command": "next_misspelling" },
// { "keys": ["ctrl+shift+f6"], "command": "prev_misspelling" },
// { "keys": ["ctrl+shift+up"], "command": "swap_line_up" },
// { "keys": ["ctrl+shift+down"], "command": "swap_line_down" },
// { "keys": ["ctrl+backspace"], "command": "delete_word", "args": { "forward": false } },
// { "keys": ["ctrl+shift+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} },
// { "keys": ["ctrl+delete"], "command": "delete_word", "args": { "forward": true } },
// { "keys": ["ctrl+shift+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} },
// { "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },
// { "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } },
// { "keys": ["ctrl+j"], "command": "join_lines" },
// { "keys": ["ctrl+shift+d"], "command": "duplicate_line" },
// { "keys": ["ctrl+`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
// { "keys": ["ctrl+space"], "command": "auto_complete" },
// { "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
// [
// { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
// { "key": "auto_complete_visible", "operator": "equal", "operand": false },
// { "key": "setting.tab_completion", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["ctrl+alt+shift+p"], "command": "show_scope_name" },
// { "keys": ["f7"], "command": "build" },
// { "keys": ["ctrl+b"], "command": "build" },
// { "keys": ["ctrl+shift+b"], "command": "build", "args": {"variant": "Run"} },
// { "keys": ["ctrl+break"], "command": "exec", "args": {"kill": true} },
// { "keys": ["ctrl+t"], "command": "transpose" },
// { "keys": ["f9"], "command": "sort_lines", "args": {"case_sensitive": false} },
// { "keys": ["ctrl+f9"], "command": "sort_lines", "args": {"case_sensitive": true} },
// // Auto-pair quotes
// { "keys": ["\""], "command": "insert_snippet", "args": {"contents": "\"$0\""}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
// { "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\"a-zA-Z0-9_]$", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double", "match_all": true }
// ]
// },
// { "keys": ["\""], "command": "insert_snippet", "args": {"contents": "\"${0:$SELECTION}\""}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
// ]
// },
// { "keys": ["\""], "command": "move", "args": {"by": "characters", "forward": true}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\"", "match_all": true },
// { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double", "match_all": true },
// ]
// },
// { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\"$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\"", "match_all": true },
// { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double", "match_all": true },
// ]
// },
// // Auto-pair single quotes
// { "keys": ["'"], "command": "insert_snippet", "args": {"contents": "'$0'"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
// { "key": "preceding_text", "operator": "not_regex_contains", "operand": "['a-zA-Z0-9_]$", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true }
// ]
// },
// { "keys": ["'"], "command": "insert_snippet", "args": {"contents": "'${0:$SELECTION}'"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
// ]
// },
// { "keys": ["'"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^'", "match_all": true },
// { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
// ]
// },
// { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "'$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^'", "match_all": true },
// { "key": "selector", "operator": "not_equal", "operand": "punctuation.definition.string.begin", "match_all": true },
// { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true },
// ]
// },
// // Auto-pair brackets
// { "keys": ["("], "command": "insert_snippet", "args": {"contents": "($0)"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true }
// ]
// },
// { "keys": ["("], "command": "insert_snippet", "args": {"contents": "(${0:$SELECTION})"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
// ]
// },
// { "keys": [")"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true }
// ]
// },
// { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\\($", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true }
// ]
// },
// // Auto-pair square brackets
// { "keys": ["["], "command": "insert_snippet", "args": {"contents": "[$0]"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true }
// ]
// },
// { "keys": ["["], "command": "insert_snippet", "args": {"contents": "[${0:$SELECTION}]"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
// ]
// },
// { "keys": ["]"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\]", "match_all": true }
// ]
// },
// { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\\[$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\]", "match_all": true }
// ]
// },
// // Auto-pair curly brackets
// { "keys": ["{"], "command": "insert_snippet", "args": {"contents": "{$0}"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|$)", "match_all": true }
// ]
// },
// { "keys": ["{"], "command": "wrap_block", "args": {"begin": "{", "end": "}"}, "context":
// [
// { "key": "indented_block", "match_all": true },
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_match", "operand": "^$", "match_all": true },
// ]
// },
// { "keys": ["{"], "command": "insert_snippet", "args": {"contents": "{${0:$SELECTION}}"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
// ]
// },
// { "keys": ["}"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\}", "match_all": true }
// ]
// },
// { "keys": ["backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Left Right.sublime-macro"}, "context":
// [
// { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\\{$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\}", "match_all": true }
// ]
// },
// { "keys": ["enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line in Braces.sublime-macro"}, "context":
// [
// { "key": "setting.auto_indent", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\\{$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\}", "match_all": true }
// ]
// },
// { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line in Braces.sublime-macro"}, "context":
// [
// { "key": "setting.auto_indent", "operator": "equal", "operand": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// { "key": "preceding_text", "operator": "regex_contains", "operand": "\\{$", "match_all": true },
// { "key": "following_text", "operator": "regex_contains", "operand": "^\\}", "match_all": true }
// ]
// },
// { "keys": ["enter"], "command": "insert_snippet", "args": {"contents": "\n\t$0\n"}, "context":
// [
// { "key": "setting.auto_indent", "operator": "equal", "operand": true },
// { "key": "selector", "operator": "equal", "operand": "meta.scope.between-tag-pair", "match_all": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// ]
// },
// { "keys": ["shift+enter"], "command": "insert_snippet", "args": {"contents": "\n\t$0\n"}, "context":
// [
// { "key": "setting.auto_indent", "operator": "equal", "operand": true },
// { "key": "selector", "operator": "equal", "operand": "meta.scope.between-tag-pair", "match_all": true },
// { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
// ]
// },
// {
// "keys": ["alt+shift+1"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 1.0],
// "rows": [0.0, 1.0],
// "cells": [[0, 0, 1, 1]]
// }
// },
// {
// "keys": ["alt+shift+2"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 0.5, 1.0],
// "rows": [0.0, 1.0],
// "cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
// }
// },
// {
// "keys": ["alt+shift+3"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 0.33, 0.66, 1.0],
// "rows": [0.0, 1.0],
// "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]]
// }
// },
// {
// "keys": ["alt+shift+4"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 0.25, 0.5, 0.75, 1.0],
// "rows": [0.0, 1.0],
// "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]]
// }
// },
// {
// "keys": ["alt+shift+8"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 1.0],
// "rows": [0.0, 0.5, 1.0],
// "cells": [[0, 0, 1, 1], [0, 1, 1, 2]]
// }
// },
// {
// "keys": ["alt+shift+9"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 1.0],
// "rows": [0.0, 0.33, 0.66, 1.0],
// "cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]]
// }
// },
// {
// "keys": ["alt+shift+5"],
// "command": "set_layout",
// "args":
// {
// "cols": [0.0, 0.5, 1.0],
// "rows": [0.0, 0.5, 1.0],
// "cells":
// [
// [0, 0, 1, 1], [1, 0, 2, 1],
// [0, 1, 1, 2], [1, 1, 2, 2]
// ]
// }
// },
// { "keys": ["ctrl+1"], "command": "focus_group", "args": { "group": 0 } },
// { "keys": ["ctrl+2"], "command": "focus_group", "args": { "group": 1 } },
// { "keys": ["ctrl+3"], "command": "focus_group", "args": { "group": 2 } },
// { "keys": ["ctrl+4"], "command": "focus_group", "args": { "group": 3 } },
// { "keys": ["ctrl+5"], "command": "focus_group", "args": { "group": 4 } },
// { "keys": ["ctrl+6"], "command": "focus_group", "args": { "group": 5 } },
// { "keys": ["ctrl+7"], "command": "focus_group", "args": { "group": 6 } },
// { "keys": ["ctrl+8"], "command": "focus_group", "args": { "group": 7 } },
// { "keys": ["ctrl+9"], "command": "focus_group", "args": { "group": 8 } },
// { "keys": ["ctrl+shift+1"], "command": "move_to_group", "args": { "group": 0 } },
// { "keys": ["ctrl+shift+2"], "command": "move_to_group", "args": { "group": 1 } },
// { "keys": ["ctrl+shift+3"], "command": "move_to_group", "args": { "group": 2 } },
// { "keys": ["ctrl+shift+4"], "command": "move_to_group", "args": { "group": 3 } },
// { "keys": ["ctrl+shift+5"], "command": "move_to_group", "args": { "group": 4 } },
// { "keys": ["ctrl+shift+6"], "command": "move_to_group", "args": { "group": 5 } },
// { "keys": ["ctrl+shift+7"], "command": "move_to_group", "args": { "group": 6 } },
// { "keys": ["ctrl+shift+8"], "command": "move_to_group", "args": { "group": 7 } },
// { "keys": ["ctrl+shift+9"], "command": "move_to_group", "args": { "group": 8 } },
// { "keys": ["ctrl+0"], "command": "focus_side_bar" },
// { "keys": ["ctrl+k", "ctrl+up"], "command": "new_pane" },
// { "keys": ["ctrl+k", "ctrl+shift+up"], "command": "new_pane", "args": {"move": false} },
// { "keys": ["ctrl+k", "ctrl+down"], "command": "close_pane" },
// { "keys": ["ctrl+k", "ctrl+left"], "command": "focus_neighboring_group", "args": {"forward": false} },
// { "keys": ["ctrl+k", "ctrl+right"], "command": "focus_neighboring_group" },
// { "keys": ["ctrl+k", "ctrl+shift+left"], "command": "move_to_neighboring_group", "args": {"forward": false} },
// { "keys": ["ctrl+k", "ctrl+shift+right"], "command": "move_to_neighboring_group" },
// { "keys": ["alt+1"], "command": "select_by_index", "args": { "index": 0 } },
// { "keys": ["alt+2"], "command": "select_by_index", "args": { "index": 1 } },
// { "keys": ["alt+3"], "command": "select_by_index", "args": { "index": 2 } },
// { "keys": ["alt+4"], "command": "select_by_index", "args": { "index": 3 } },
// { "keys": ["alt+5"], "command": "select_by_index", "args": { "index": 4 } },
// { "keys": ["alt+6"], "command": "select_by_index", "args": { "index": 5 } },
// { "keys": ["alt+7"], "command": "select_by_index", "args": { "index": 6 } },
// { "keys": ["alt+8"], "command": "select_by_index", "args": { "index": 7 } },
// { "keys": ["alt+9"], "command": "select_by_index", "args": { "index": 8 } },
// { "keys": ["alt+0"], "command": "select_by_index", "args": { "index": 9 } },
// { "keys": ["f2"], "command": "next_bookmark" },
// { "keys": ["shift+f2"], "command": "prev_bookmark" },
// { "keys": ["ctrl+f2"], "command": "toggle_bookmark" },
// { "keys": ["ctrl+shift+f2"], "command": "clear_bookmarks" },
// { "keys": ["alt+f2"], "command": "select_all_bookmarks" },
// { "keys": ["ctrl+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
// { "keys": ["alt+q"], "command": "wrap_lines" },
// { "keys": ["ctrl+k", "ctrl+u"], "command": "upper_case" },
// { "keys": ["ctrl+k", "ctrl+l"], "command": "lower_case" },
// { "keys": ["ctrl+k", "ctrl+space"], "command": "set_mark" },
// { "keys": ["ctrl+k", "ctrl+a"], "command": "select_to_mark" },
// { "keys": ["ctrl+k", "ctrl+w"], "command": "delete_to_mark" },
// { "keys": ["ctrl+k", "ctrl+x"], "command": "swap_with_mark" },
// { "keys": ["ctrl+k", "ctrl+y"], "command": "yank" },
// { "keys": ["ctrl+k", "ctrl+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} },
// { "keys": ["ctrl+k", "ctrl+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} },
// { "keys": ["ctrl+k", "ctrl+g"], "command": "clear_bookmarks", "args": {"name": "mark"} },
// { "keys": ["ctrl+k", "ctrl+c"], "command": "show_at_center" },
// { "keys": ["ctrl++"], "command": "increase_font_size" },
// { "keys": ["ctrl+="], "command": "increase_font_size" },
// { "keys": ["ctrl+keypad_plus"], "command": "increase_font_size" },
// { "keys": ["ctrl+-"], "command": "decrease_font_size" },
// { "keys": ["ctrl+keypad_minus"], "command": "decrease_font_size" },
// { "keys": ["ctrl+equals"], "command": "increase_font_size" },
// { "keys": ["ctrl+shift+equals"], "command": "decrease_font_size" },
// { "keys": ["ctrl+keypad_plus"], "command": "increase_font_size" },
// { "keys": ["ctrl+shift+keypad_plus"], "command": "decrease_font_size" },
// { "keys": ["alt+shift+w"], "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" } },
// { "keys": ["ctrl+shift+["], "command": "fold" },
// { "keys": ["ctrl+shift+]"], "command": "unfold" },
// { "keys": ["ctrl+k", "ctrl+1"], "command": "fold_by_level", "args": {"level": 1} },
// { "keys": ["ctrl+k", "ctrl+2"], "command": "fold_by_level", "args": {"level": 2} },
// { "keys": ["ctrl+k", "ctrl+3"], "command": "fold_by_level", "args": {"level": 3} },
// { "keys": ["ctrl+k", "ctrl+4"], "command": "fold_by_level", "args": {"level": 4} },
// { "keys": ["ctrl+k", "ctrl+5"], "command": "fold_by_level", "args": {"level": 5} },
// { "keys": ["ctrl+k", "ctrl+6"], "command": "fold_by_level", "args": {"level": 6} },
// { "keys": ["ctrl+k", "ctrl+7"], "command": "fold_by_level", "args": {"level": 7} },
// { "keys": ["ctrl+k", "ctrl+8"], "command": "fold_by_level", "args": {"level": 8} },
// { "keys": ["ctrl+k", "ctrl+9"], "command": "fold_by_level", "args": {"level": 9} },
// { "keys": ["ctrl+k", "ctrl+0"], "command": "unfold_all" },
// { "keys": ["ctrl+k", "ctrl+j"], "command": "unfold_all" },
// { "keys": ["ctrl+k", "ctrl+t"], "command": "fold_tag_attributes" },
// { "keys": ["context_menu"], "command": "context_menu" },
// { "keys": ["alt+c"], "command": "toggle_case_sensitive", "context":
// [
// { "key": "setting.is_widget", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["alt+r"], "command": "toggle_regex", "context":
// [
// { "key": "setting.is_widget", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["alt+w"], "command": "toggle_whole_word", "context":
// [
// { "key": "setting.is_widget", "operator": "equal", "operand": true }
// ]
// },
// { "keys": ["alt+a"], "command": "toggle_preserve_case", "context":
// [
// { "key": "setting.is_widget", "operator": "equal", "operand": true }
// ]
// },
// // Find panel key bindings
// { "keys": ["enter"], "command": "find_next", "context":
// [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["shift+enter"], "command": "find_prev", "context":
// [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true},
// "context": [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}]
// },
// // Replace panel key bindings
// { "keys": ["enter"], "command": "find_next", "context":
// [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["shift+enter"], "command": "find_prev", "context":
// [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true},
// "context": [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["ctrl+alt+enter"], "command": "replace_all", "args": {"close_panel": true},
// "context": [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
// },
// // Incremental find panel key bindings
// { "keys": ["enter"], "command": "hide_panel", "context":
// [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["shift+enter"], "command": "find_prev", "context":
// [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
// },
// { "keys": ["alt+enter"], "command": "find_all", "args": {"close_panel": true},
// "context": [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
// },
// // HTML, XML close tag
// { "keys": ["/"], "command": "close_tag", "args": { "insert_slash": true }, "context":
// [
// { "key": "selector", "operator": "equal", "operand": "(text.html, text.xml) - string - comment", "match_all": true },
// { "key": "preceding_text", "operator": "regex_match", "operand": ".*<$", "match_all": true },
// { "key": "setting.auto_close_tags" }
// ]
// }
// ]
//插件highlighter颜色默认设置
// [
// {
// "keys": ["ctrl+shift+c"],
// "command": "color_picker",
// "context": [
// {
// "key": "color_highlighter.color_picker"
// }
// ]
// },
// {
// "keys": ["ctrl+shift+a"],
// "command": "color_convert",
// "context": [
// {
// "key": "color_highlighter.color_convert"
// }
// ]
// },
// {
// "keys": ["ctrl+shift+,"],
// "command": "color_convert_prev",
// "context": [
// {
// "key": "color_highlighter.color_convert_prev"
// }
// ]
// },
// {
// "keys": ["ctrl+shift+."],
// "command": "color_convert_next",
// "context": [
// {
// "key": "color_highlighter.color_convert_next"
// }
// ]
// },
// {
// "keys": ["ctrl+alt+d"],
// "command": "go_to_var_definition",
// "context": [
// {
// "key": "color_highlighter.go_to_var_definition"
// }
// ]
// }
// ]
//emment默认快捷键
// This file is automatically generated with misc/generate-keymap.py script
// [
// {
// "keys": [
// "shift+ctrl+;"
// ],
// "args": {
// "action": "remove_tag"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.remove_tag"
// }
// ]
// },
// {
// "keys": [
// "ctrl+up"
// ],
// "args": {
// "action": "increment_number_by_1"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.increment_number_by_1"
// }
// ]
// },
// {
// "keys": [
// "ctrl+shift+forward_slash"
// ],
// "args": {
// "action": "toggle_comment"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "operand": "source.css, source.less, source.scss, text.xml, text.html - source",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.toggle_comment"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+."
// ],
// "args": {
// "action": "select_next_item"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.select_next_item"
// }
// ]
// },
// {
// "keys": [
// "ctrl+alt+enter"
// ],
// "command": "expand_as_you_type",
// "context": [
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "setting.is_widget"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.expand_as_you_type"
// }
// ]
// },
// {
// "keys": [
// "alt+down"
// ],
// "args": {
// "action": "decrement_number_by_01"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.decrement_number_by_01"
// }
// ]
// },
// {
// "keys": [
// "ctrl+'"
// ],
// "args": {
// "action": "encode_decode_data_url"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.encode_decode_data_url"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+y"
// ],
// "args": {
// "action": "evaluate_math_expression"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.evaluate_math_expression"
// }
// ]
// },
// {
// "keys": [
// "ctrl+shift+0"
// ],
// "args": {
// "action": "balance_inward"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.balance_inward"
// }
// ]
// },
// {
// "keys": [
// "ctrl+,"
// ],
// "args": {
// "action": "balance_outward"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.balance_outward"
// }
// ]
// },
// {
// "keys": [
// "shift+alt+up"
// ],
// "args": {
// "action": "increment_number_by_10"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.increment_number_by_10"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+r"
// ],
// "args": {
// "action": "reflect_css_value"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.reflect_css_value"
// }
// ]
// },
// {
// "keys": [
// "ctrl+alt+left"
// ],
// "args": {
// "action": "prev_edit_point"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.prev_edit_point"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+,"
// ],
// "args": {
// "action": "select_previous_item"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.select_previous_item"
// }
// ]
// },
// {
// "keys": [
// "ctrl+u"
// ],
// "args": {
// "action": "update_image_size"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.update_image_size"
// }
// ]
// },
// {
// "keys": [
// "ctrl+alt+right"
// ],
// "args": {
// "action": "next_edit_point"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.next_edit_point"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+`"
// ],
// "args": {
// "action": "split_join_tag"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.split_join_tag"
// }
// ]
// },
// {
// "keys": [
// "shift+alt+down"
// ],
// "args": {
// "action": "decrement_number_by_10"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.decrement_number_by_10"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+g"
// ],
// "command": "wrap_as_you_type",
// "context": [
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "setting.is_widget"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.wrap_as_you_type"
// }
// ]
// },
// {
// "keys": [
// "shift+ctrl+'"
// ],
// "command": "rename_tag",
// "context": [
// {
// "key": "emmet_action_enabled.rename_tag"
// }
// ]
// },
// {
// "keys": [
// "alt+up"
// ],
// "args": {
// "action": "increment_number_by_01"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.increment_number_by_01"
// }
// ]
// },
// {
// "keys": [
// "ctrl+shift+u"
// ],
// "command": "update_as_you_type",
// "context": [
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "setting.is_widget"
// },
// {
// "match_all": true,
// "key": "emmet_action_enabled.update_as_you_type"
// }
// ]
// },
// {
// "keys": [
// "ctrl+alt+j"
// ],
// "args": {
// "action": "matching_pair"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.matching_pair"
// }
// ]
// },
// {
// "keys": [
// "ctrl+down"
// ],
// "args": {
// "action": "decrement_number_by_1"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.decrement_number_by_1"
// }
// ]
// },
// {
// "keys": [
// "ctrl+e"
// ],
// "args": {
// "action": "expand_abbreviation"
// },
// "command": "run_emmet_action",
// "context": [
// {
// "key": "emmet_action_enabled.expand_abbreviation"
// }
// ]
// },
// {
// "keys": [
// "tab"
// ],
// "command": "expand_abbreviation_by_tab",
// "context": [
// {
// "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": "storage.type.templatetag.django",
// "operator": "not_equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "selection_empty"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "has_next_field"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "setting.disable_tab_abbreviations"
// },
// {
// "operand": false,
// "operator": "equal",
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "match_all": true,
// "key": "is_abbreviation"
// }
// ]
// },
// {
// "keys": [
// "tab"
// ],
// "command": "expand_abbreviation_by_tab",
// "context": [
// {
// "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": "storage.type.templatetag.django",
// "operator": "not_equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "match_all": true,
// "key": "selection_empty"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "has_next_field"
// },
// {
// "operator": "equal",
// "operand": true,
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "operator": "equal",
// "operand": false,
// "match_all": true,
// "key": "setting.disable_tab_abbreviations_on_auto_complete"
// },
// {
// "match_all": true,
// "key": "is_abbreviation"
// }
// ]
// },
// {
// "keys": [
// "enter"
// ],
// "args": {
// "contents": "\n\t${0}\n"
// },
// "command": "insert_snippet",
// "context": [
// {
// "operand": "meta.scope.between-tag-pair.html, meta.scope.between-tag-pair.xml",
// "match_all": true,
// "key": "selector"
// },
// {
// "operand": false,
// "match_all": true,
// "key": "auto_complete_visible"
// },
// {
// "match_all": true,
// "key": "clear_fields_on_enter_key"
// },
// {
// "operand": false,
// "match_all": true,
// "key": "setting.disable_formatted_linebreak"
// }
// ]
// },
// {
// "keys": [
// "#"
// ],
// "args": {
// "attribute": "id"
// },
// "command": "emmet_insert_attribute",
// "context": [
// {
// "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html -source -meta.tag.template.value.twig",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operator": "equal",
// "operand": true,
// "key": "setting.auto_id_class"
// }
// ]
// },
// {
// "keys": [
// "."
// ],
// "args": {
// "attribute": "class"
// },
// "command": "emmet_insert_attribute",
// "context": [
// {
// "operand": "text.html meta.tag -string -punctuation.definition.tag.begin.html -meta.scope.between-tag-pair.html -source -meta.tag.template.value.twig",
// "operator": "equal",
// "match_all": true,
// "key": "selector"
// },
// {
// "operator": "equal",
// "operand": true,
// "key": "setting.auto_id_class"
// }
// ]
// }
// ]
//快捷键解析
/*
Sublime Text 3 快捷键精华版
Alt+F3:选择所有相同的词
Alt+Shift+数字:分屏显示
按Ctrl+Shift+上下键,可替换行
按Ctrl,依次点击或选取,可需要编辑的多个位置
Shift+右键拖动:光标多不,用来更改或插入列内容
Alt+.:闭合标签
Ctrl+Shift+/:当前位置插入注释
Ctrl+/:注释当前行
Ctrl+Shift+L:选择多行
Ctrl+W:关闭当前打开文件
Ctrl+L:选择行,重复可依次增加选择下一行
Ctrl+Shift+Enter:在当前行前插入新行
Ctrl+X:删除当前行
Ctrl+D:选择单词,重复可增加选择下一个相同的单词
Ctrl+M:跳转到对应括号
Ctrl+U:软撤销,撤销光标位置
Ctrl+J:选择标签内容
Ctrl+Shift+P:打开命令面板
Ctrl+P:搜索项目中的文件
Ctrl+G:跳转到第几行
Ctrl+Shift+W:关闭所有打开文件
Ctrl+Shift+V:粘贴并格式化
Ctrl+F:查找内容
Ctrl+Shift+F:查找并替换
Ctrl+H:替换
Ctrl+R:前往 method
Ctrl+N:新建窗口
Ctrl+K+B:开关侧栏
Ctrl+Shift+M:选中当前括号内容,重复可选着括号本身
Ctrl+F2:设置/删除标记
Ctrl+Alt+/:块注释,并Focus到首行,写注释说明用的
Ctrl+Shift+A:选择当前标签前后,修改标签用的
F11:全屏
Shift+F11:全屏免打扰模式,只编辑当前文件
Alt+数字:切换打开第N个文件
鼠标的前进后退键可切换Tab文件
选择类
Ctrl+D 选中光标所占的文本,继续操作则会选中下一个相同的文本。
Alt+F3 选中文本按下快捷键,即可一次性选择全部的相同文本进行同时编辑。举个栗子:快速选中并更改所有相同的变量名、函数名等。
Ctrl+L 选中整行,继续操作则继续选择下一行,效果和 Shift+↓ 效果一样。
Ctrl+Shift+L 先选中多行,再按下快捷键,会在每行行尾插入光标,即可同时编辑这些行。
Ctrl+Shift+M 选择括号内的内容(继续选择父括号)。举个栗子:快速选中删除函数中的代码,重写函数体代码或重写括号内里的内容。
Ctrl+M 光标移动至括号内结束或开始的位置。
Ctrl+Enter 在下一行插入新行。举个栗子:即使光标不在行尾,也能快速向下插入一行。
Ctrl+Shift+Enter 在上一行插入新行。举个栗子:即使光标不在行首,也能快速向上插入一行。
Ctrl+Shift+[ 选中代码,按下快捷键,折叠代码。
Ctrl+Shift+] 选中代码,按下快捷键,展开代码。
Ctrl+K+0 展开所有折叠代码。
Ctrl+← 向左单位性地移动光标,快速移动光标。
Ctrl+→ 向右单位性地移动光标,快速移动光标。
shift+↑ 向上选中多行。
shift+↓ 向下选中多行。
Shift+← 向左选中文本。
Shift+→ 向右选中文本。
Ctrl+Shift+← 向左单位性地选中文本。
Ctrl+Shift+→ 向右单位性地选中文本。
Ctrl+Shift+↑ 将光标所在行和上一行代码互换(将光标所在行插入到上一行之前)。
Ctrl+Shift+↓ 将光标所在行和下一行代码互换(将光标所在行插入到下一行之后)。
Ctrl+Alt+↑ 向上添加多行光标,可同时编辑多行。
Ctrl+Alt+↓ 向下添加多行光标,可同时编辑多行。
编辑类
Ctrl+J 合并选中的多行代码为一行。举个栗子:将多行格式的CSS属性合并为一行。
Ctrl+Shift+D 复制光标所在整行,插入到下一行。
Tab 向右缩进。
Shift+Tab 向左缩进。
Ctrl+K+K 从光标处开始删除代码至行尾。
Ctrl+Shift+K 删除整行。
Ctrl+/ 注释单行。
Ctrl+Shift+/ 注释多行。
Ctrl+K+U 转换大写。
Ctrl+K+L 转换小写。
Ctrl+Z 撤销。
Ctrl+Y 恢复撤销。
Ctrl+U 软撤销,感觉和 Gtrl+Z 一样。
Ctrl+F2 设置书签
Ctrl+T 左右字母互换。
F6 单词检测拼写
搜索类
Ctrl+F 打开底部搜索框,查找关键字。
Ctrl+shift+F 在文件夹内查找,与普通编辑器不同的地方是sublime允许添加多个文件夹进行查找,略高端,未研究。
Ctrl+P 打开搜索框。举个栗子:1、输入当前项目中的文件名,快速搜索文件,2、输入@和关键字,查找文件中函数名,3、输入:和数字,跳转到文件中该行代码,4、输入#和关键字,查找变量名。
Ctrl+G 打开搜索框,自动带:,输入数字跳转到该行代码。举个栗子:在页面代码比较长的文件中快速定位。
Ctrl+R 打开搜索框,自动带@,输入关键字,查找文件中的函数名。举个栗子:在函数较多的页面快速查找某个函数。
Ctrl+: 打开搜索框,自动带#,输入关键字,查找文件中的变量名、属性名等。
Ctrl+Shift+P 打开命令框。场景栗子:打开命名框,输入关键字,调用sublime text或插件的功能,例如使用package安装插件。
Esc 退出光标多行选择,退出搜索框,命令框等。
显示类
Ctrl+Tab 按文件浏览过的顺序,切换当前窗口的标签页。
Ctrl+PageDown 向左切换当前窗口的标签页。
Ctrl+PageUp 向右切换当前窗口的标签页。
Alt+Shift+1 窗口分屏,恢复默认1屏(非小键盘的数字)
Alt+Shift+2 左右分屏-2列
Alt+Shift+3 左右分屏-3列
Alt+Shift+4 左右分屏-4列
Alt+Shift+5 等分4屏
Alt+Shift+8 垂直分屏-2屏
Alt+Shift+9 垂直分屏-3屏
Ctrl+K+B 开启/关闭侧边栏。
F11 全屏模式
Shift+F11 免打扰模式*/
//sid-bar 右键侧边栏文件设置open-with--editapp设置第三方程序启动
//[
// {"id": "side-bar-files-open-with",
// "children":
// [
// //application 1
// {
// "caption": "Photoshopcs6",
// "id": "side-bar-files-open-with-photoshop",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "D:\\Program Files\\ps6\\Adobe Photoshop CS6 (64 Bit)\\Photoshop.exe", // windows
// "extensions":"psd|png|jpg|jpeg", //any file with these extensions
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// //separator
// {"caption":"-"},
// //application n
// {
// "caption": "Chrome",
// "id": "side-bar-files-open-with-chrome",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "D:\\Program Files\\GoogleChrome_46.0.2490.86_PortableSoft/GoogleChromePortable\\App\\Google Chrome\\chrome.exe",
// "extensions":".*", //any file with extension
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// {
// "caption": "safari",
// "id": "side-bar-files-open-with-chrome",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "D:\\Program Files (x86)\\Safari\\safari.exe",
// "extensions":".*", //any file with extension
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// {
// "caption": "firefox",
// "id": "side-bar-files-open-with-chrome",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "D:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
// "extensions":".*", //any file with extension
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// {
// "caption": "ie",
// "id": "side-bar-files-open-with-chrome",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
// "extensions":".*", //any file with extension
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// {
// "caption": "opera",
// "id": "side-bar-files-open-with-chrome",
// "command": "side_bar_files_open_with",
// "args": {
// "paths": [],
// "application": "D:\\Program Files\\Opera\\launcher.exe",
// "extensions":".*", //any file with extension
// "args":[]
// },
// "open_automatically" : false // will close the view/tab and launch the application
// },
// {"caption":"-"}
// ]
// }
// ]