Sublime Text:用于在Windows

时间:2016-07-14 13:56:39

标签: sublimetext2 sublimetext3 sublimetext text-editor

是否在Windows / Linux Ctrl + ,中的Sublime Text中打开用户设置的快捷方式?我假设这是因为在Mac上打开用户设置的命令是Cmd + ,

2 个答案:

答案 0 :(得分:4)

Cmd + 键盘快捷键是特定于OSX的 - Linux和Windows的默认键绑定不包含任何可打开用户设置文件的内容。

但是,您可以在用户keybindings文件中自行添加。

在Build 3114中,可以从Preferences - >中访问它。键绑定 - 用户菜单:

{ "keys": ["ctrl+,"], "command": "open_file", "args": {"file": "${packages}/User/Preferences.sublime-settings"} }

在Build 3118中,可以从Preferences - >中访问它。键绑定菜单:

{ "keys": ["ctrl+,"], "command": "edit_settings", "args":
    {
        "base_file": "${packages}/Default/Preferences.sublime-settings",
        "default": "// Settings in here override those in \"Default/Preferences.sublime-settings\",\n// and are overridden in turn by syntax-specific settings.\n{\n\t$0\n}\n"
    }
},

答案 1 :(得分:0)

更新

build 3124开始,该选项的名称现在为Preferences: Settings。由于Sublime的模糊匹配,您只需键入类似prefs的内容即可缩小选项范围。

原始答案

如果您指的是Preferences.sublime-settings文件,那么您可以分几步完成:

  1. 使用 Ctrl + Shift + P 打开命令选项板。
  2. 开始输入settings - user。最终你会看到这个选项。
  3. 选择它。
相关问题