[TOC]css
Ctrl + X
刪除行Ctrl + Shift + D
複製當前行Ctrl + Shift + 上下鍵
該行上下移動Ctrl + /
註釋當前行Alt + Shift + 1/2/3/4
分屏顯示Alt + 數字
切換第N個頁籤Ctrl + Alt + F
格式化代碼Ctrl + Alt + 上下鍵
選中多行 在各行的光標處編輯Ctrl + D
選中光標所佔文本, 繼續操做會選中下一個相同的文本Alt + F3
選中文本進行同時編輯, 好比快速修改變量名Ctrl + Shift +[
先選中代碼,執行此命令,摺疊代碼Ctrl + Shift +]
先選中代碼,執行此命令,展開代碼Ctrl + K + 0
展開全部摺疊代碼Shift + 上下鍵
選中多行Ctrl + F
打開底部搜索框,查找關鍵字 Ctrl + Shift + F
在文件夾內查找 Ctrl + H
替換 node
Ctrl + P
打開頂部搜索框
@ + 關鍵字
: 搜索函數名# + 關鍵字
: 搜索變量名: + 數字
: 跳轉到該行Ctrl + R
打開頂部搜索框,自動帶@。 搜索函數名Ctrl + :
打開頂部搜索框,自動帶#。 搜索變量名,屬性{ "color_scheme": "Packages/Color Scheme - Default/All Hallow's Eve.tmTheme", "font_face": "YaHei Consolas hybrid", "font_size": 14, "highligt_line": true, "ignored_packages": [ ], "theme": "Spacegray Light.sublime-theme", "update_check": false }
{ "bootstrapped": true, "http_proxy": "child-prc.intel.com:913", "https_proxy": "child-prc.intel.com:913", "in_process_packages": [ ], "installed_packages": [ "1337 Color Scheme", "CodeFormatter", "ConvertToUTF8", "GBK Support", "Git", "Groovy Snippets", "IMESupport", "jQuery", "Markdown Preview", "MarkdownEditing", "Nodejs", "Notes", "Package Control", "PlainNotes", "SublimeREPL", "Table Editor", "View In Browser" ] }
{ // "enabled_parsers": ["markdown", "wikilinks"] "parser": "markdown", "build_action": "browser", "enable_mathjax": true, "enable_uml": true, "enable_highlight": true, "enable_pygments": true, "css": ["C:\\Users\\bzhux\\Program\\SublimeTextBuild3126x64\\Data\\myconf\\github.css"], // "enabled_parsers": ["markdown", "github"], "enabled_parsers": ["markdown"], "github_mode": "markdown", "github_inject_header_ids": true, "enable_autoreload": false }
{ "enable_table_editor": true, "extensions": [ "md" ], "highlight_line": true, "line_numbers": true }
{ "root": "~/WS/Notes/", "note_color_scheme": "Packages/PlainNotes/Color Schemes/Sticky-Gray.tmTheme", "jotter_color_scheme": "Packages/PlainNotes/Color Schemes/Sticky-Gray.tmTheme", "list_options" : { "display_modified_date": true, "display_folder": true, "display_full_path": true } }
{ // save before running commands "save_first": true, // if present, use this command instead of plain "node" // e.g. "/usr/bin/node" or "C:\bin\node.exe" "node_command": "C:\\Program Files\\nodejs\\node.exe", // Same for NPM command "npm_command": "C:\\Program Files\\nodejs\\npm.cmd", // as 'NODE_PATH' environment variable for node runtime "node_path": false, "expert_mode": false, "ouput_to_new_tab": false }
[{ "keys": ["alt+right"], "command": "next_view" }, { "keys": ["alt+left"], "command": "prev_view" }, { "keys": ["alt+m"], "command": "markdown_preview", "args": { "target": "browser" } }, { "keys": ["ctrl+alt+f"], "command": "reindent", "args": { "single_line": false } }, { "keys": ["ctrl+alt+enter"], "command": "open_in_browser" }, { "keys": ["f5"], "caption": "SublimeREPL: Python - RUN current file", "command": "run_existing_window_command", "args": { "id": "repl_python_run", "file": "config/Python/Main.sublime-menu" } }]
Tools --> Build System --> New Build System
new Groovy.sublime-buildpython
{ "cmd": ["groovy","$file"], "selector": "source.groovy", "file_regex": "[ ]*at .+[(](.+):([0-9]+)[)]", "windows": { "shell": "cmd.exe" } }