[
// User
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" },
{ "keys": ["alt+n"], "command": "clone_file" },
{ "keys": ["ctrl+alt+shift+s"], "command": "save_all" },
{ "keys": ["ctrl+alt+shift+z"], "command": "revert" },
{ "keys": ["ctrl+alt+shift+w"], "command": "close_all" },
{ "keys": ["alt+f4"], "command": "exit" },
{ "keys": ["alt+shift+s"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "} },
{ "keys": ["ctrl+alt+o"], "command": "prompt_open_project" },
{ "keys": ["ctrl+alt+w"], "command": "close_project" },
// Package Control
{ "keys": ["ctrl+alt+shift+i"], "command": "install_package" },
// Terminal
{ "keys": ["ctrl+shift+t"], "command": "open_terminal" },
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" },
// Emmet
// ConvertToUTF8
{ "keys": ["ctrl+shift+c"], "command": "convert_to_utf8", "args": {"encoding": "GBK", "stamp": "0" } },
// GBK Encoding Support
// TrailingSpaces
{ "keys": ["ctrl+alt+shift+delete"], "command": "delete_trailing_spaces" },
{ "keys": ["ctrl+alt+shift+h"], "command": "toggle_trailing_spaces" },
// InsertDate
/* Insert datetime using default format text */
{ "keys": ["ctrl+f5", "ctrl+f5"],
"command": "insert_date",
"args": {"format": "%Y-%m-%d %H:%M:%S"} },
/* Locale date */
{ "keys": ["ctrl+f5", "ctrl+d"],
"command": "insert_date",
"args": {"format": "%Y-%m-%d"} },
/* iso time (HH:MM:SS) */
{ "keys": ["ctrl+f5", "ctrl+t"],
"command": "insert_date",
"args": {"format": "%H:%M:%S"} },
// Alignment
{ "keys": ["ctrl+alt+shift+a"], "command": "alignment" },
// BracketHighLighter
// FileSystem Autocompletion
{ "keys": ["alt+ctrl+/"], "command": "file_system_comp_trigger"},
// DocBlockr
/** enter */
// Clipboard Manager
{ "keys": ["ctrl+alt+shift+v"], "command": "clipboard_manager_choose_and_paste" },
// AdvancedNewFile
{ "keys": ["ctrl+alt+n"], "command": "advanced_new_file_new"},
{ "keys": ["shift+ctrl+alt+n"], "command": "advanced_new_file_new", "args": {"is_python": true}},
// Edit History
{ "keys": ["alt++"], "command": "previous_edit" },
{ "keys": ["alt+="], "command": "previous_edit" },
{ "keys": ["alt+keypad_plus"], "command": "previous_edit" },
{ "keys": ["alt+-"], "command": "next_edit" },
{ "keys": ["alt+keypad_minus"], "command": "next_edit" },
// Copy File Name
{ "keys": ["ctrl+alt+shift+c"], "command": "copy_filename" },
// auto-save
{ "keys": ["alt+s"], "command": "auto_save" }
]
Key map for Sublime Text
最新推荐文章于 2024-06-14 09:49:54 发布