Sublime Text 3 本身的一些功能
==> 转换大小写
ctrl+KU 转换文字为大写
ctrl+KL 转换文字为小写
==>在每一行开头或结尾插入或删除某些内容
选中一段代码
然后按快捷键 ctrl+shift+L 将选择的块打散,然后将光标调至行首或者行末,进行操作即可。
==>跳转到指定行
按住 ctrl 键的同时按字母 G 键,这里的 G 不是指大写而仅仅是键盘代号。
ctrl + G
插件
==> PlaneTasks
保存成的待办清单文件扩展名默认有如下几种,可以根据需要在用户配置文件中添加自定义扩展名,不要忘记末尾的逗号。
"extensions": [ "TODO", "todo", "todolist", "taskpaper", "tasks" ]默认快捷键列表如下
default shortcuts[ { "keys": ["super+d"], "command": "plain_tasks_complete","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["ctrl+c"], "command": "plain_tasks_cancel", "context": [{"key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+enter"], "command": "plain_tasks_new","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+i"], "command": "plain_tasks_new","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+shift+enter"], "command": "plain_tasks_new_with_date","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+shift+a"], "command": "plain_tasks_archive","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+shift+o"], "command": "plain_tasks_archive_org","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+shift+u"], "command": "plain_tasks_open_url","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["ctrl+o"], "command": "plain_tasks_open_link","context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["super+shift+r"], "command": "plain_tasks_goto_tag", "context": [{ "key": "selector", "operator": "equal", "operand": "text.todo" }] }, { "keys": ["tab"], "command": "plain_task_insert_date", "context": [ { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, { "key": "selector", "operator": "equal", "operand": "text.todo" }, { "key": "preceding_text", "operator": "regex_contains", "operand": "(@started|@toggle|@created)(?!\([\d\w,\.:\-/ @]*\))", "match_all": true } ] }, { "keys": ["tab"], "command": "plain_tasks_replace_short_date", "context": [ { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, { "key": "selector", "operator": "equal", "operand": "text.todo" }, { "key": "preceding_text", "operator": "regex_contains", "operand": "@due\([^\)]+(?!.*?\))", "match_all": true }, { "key": "following_text", "operator": "regex_contains", "operand": "[ ]*\)", "match_all": true } ] }, { "keys": ["tab"], "command": "plain_tasks_re_calculate_time_for_tasks", "context": [ { "key": "selector", "operator": "equal", "operand": "text.todo meta.tag.todo.completed, text.todo meta.tag.todo.cancelled" } ] } ]