鼠鼠我呀 - sublime keymap
type: channel
link: https://www.sshaonan.com/tag/sublime-keymap/
items: sublime 主题、快捷键配置

sublime 主题、快捷键配置
type: item
date: 2023-08-24T02:48:00+00:00
description: 主题Preferences -> Settings{ "ignored_packages": [ "Vintage", ], // 主题设置 "theme": "Default Dark.sublime-theme", "color_scheme": "Monokai.sublime-color-scheme", "dark_theme": "Adaptive.sublime-theme", "light_theme": "Default Dark.sublime-theme", // 字体行距设置 "font_face": ["Consolas","Lucida Sans Typewriter","Courier New"], "font_size": 10, "line_padding_bottom": 2, "line_padding_top": 2, // 显示空格跟tab "draw_white_space": "all", // 关闭单击预览文件功能，防止文件被替换 "preview_on_click": false, // 显示当前文件编码 "show_encoding": true, // 显示当前文件换行符 "show_line_endings": true, /*"font_size": 10,*/ // 默认情况下sublime双击是不能选中$， // 比如$value，双击只能选中value而不能连$一起选中,这里把$符号删掉 // 但是这样选中$value后，但是其他出现$value的地方不高亮了。 // 解决：所以如果设置了这个，还需要安装 wordHighlight 插件 "word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?", } 快捷键Preferences -> Key Bindings[ //跳转到上一个编辑地方 { "keys": ["alt+left"], "command": "jump_back" }, // 跳转到下一个编辑地方 { "keys": ["alt+right"], "command": "jump_forward" }, //整行下移 { "keys": ["alt+down"], "command": "swap_line_down" }, //整行上移 { "keys": ["alt+up"], "command": "swap_line_up" }, //自动提示 { "keys": ["alt+/"], "command": "auto_complete" }, // 转换大写 { "keys": ["ctrl+shift+x"], "command": "upper_case" }, // 转换小写 { "keys": ["ctrl+shift+y"], "command": "lower_case" }, // 删除整行 { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, // 光标移动到指定行 { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, // 快速定位到选中的文字 { "keys": ["ctrl+k"], "command": "find_under_expand_skip" }, // 这个命令默认使用的是ctrl+shift+P { "keys": ["ctrl+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, // outline { "keys": ["ctrl+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, // 当前文件中的关键字(方便快速查找内容) { "keys": ["ctrl+alt+o"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} }, // open resource { "keys": ["ctrl+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_fil…