mac Sublime详细配置

    xiaoxiao2025-01-25  3

    Sublime配置

    效果展示

    安装插件

    autofilename:左边栏增强bracketHighlighter:括号高亮Compare Side-By-Side:beyond comparegitMarkdown PreviewMarkdown EditingPackage Control:下载插件的Side Bar:左边栏背景色SolarizedToggle:主题SublimeLinter:语法检测的PlainTasks:任务页面,自动检测尾号是todo的文件sideBarFolders:右侧文件夹管理

    代码编辑配置

    1.配置颜色:下载Solarized主题 2.在/Users/jikuan.zjk/Library/Application Support/Sublime Text 3/Packages/User/SublimeLinter/SublimeLinter/目录下修改Solarized (Dark) (SL).tmTheme文件中的selection的颜色,选中时候的颜色,因为这个主题选中时候颜色看不出来 3.修改settings-user中的”color_scheme”: “Packages/User/SublimeLinter/Solarized (Dark) (SL).tmTheme”, 4.侧边栏颜色,下载sidebar

    设置

    user

    { "caret_extra_bottom": 1, "caret_extra_top": 1, "caret_extra_width": 2, "color_scheme": "Packages/User/SublimeLinter/Solarized (Dark) (SL).tmTheme", "draw_white_space": "all", "font_size": 15, "highlight_line": true, "hot_exit": false, "ignored_packages": [ "Markdown", "Vintage" ], "preview_on_click": false, "remember_open_files": true, "tab_size": 4, "translate_tabs_to_spaces": true, "update_check": false }

    快捷键

    [ {"keys": ["alt+q"], "command": "markdown_preview", "args": { "target": "browser"}}, { "keys": ["super+\\"], "command": "goto_definition" }, { "keys": ["super+["], "command": "jump_back" }, { "keys": ["super+]"], "command": "jump_forward" }, { "keys": ["super+shift+g"], "command": "find_prev" }, ]

    markdown配置

    配置的是package setting中的markdown Editing中的GFM-setting-user,这样只修改.md文件的配置 配置

    { "extensions": [ "md" ], "color_scheme": "Packages/User/SublimeLinter/MarkdownEditor-Yellow (SL).tmTheme", "line_padding_top": 4, "line_padding_bottom": 4, "tab_size": 4, "translate_tabs_to_spaces": true, "draw_centered": false, "word_wrap": true, "wrap_width": 120, "rulers": [120, 120] }

    快捷键

    sublime快捷键 ctrl+shift+p:install package ctr+M:跳转到括号匹配出 alt+q:markdown preview com+ctr+G:选中所有相同的文本 com+q:关闭sublime记住打开文件,直接x掉不记住 com+w:关闭标签 F1:全屏 com+enter:添加任务 com+d:完成任务 ctr+c:取消任务 com+[:回到光标上一处]下一处 com+:转到定义 ctr+G:转到调用出 com+enter:新建行 com+g:搜索下一处 com+shift+g:搜索上一处 com+d:查找无需复制 com+e:将选择的作为查找 com+t:查找文件名 ctr+d:按行号查找 com+shift+f:在整个目录中查询 com+opt+鼠标选择:批量编辑 ctr+com+g:批量选择 com+l:选中一行 com++d:选中下一个出现的词 com+m:画图渲染 com+alt+2:分屏

    转载请注明原文地址: https://ju.6miu.com/read-1295752.html
    最新回复(0)