Home  >  Article  >  Development Tools  >  Modify sublime text shortcut keys and themes

Modify sublime text shortcut keys and themes

藏色散人
藏色散人forward
2019-12-23 14:05:553928browse

How to use sublime? How to modify sublime text shortcut keys and theme? Below I will introduce to you how to modify it. I hope it will be helpful to friends who need it!

Modify sublime text shortcut keys and themes

Set shortcut keys.

In SublimeText, open Preferences -> Key Bindings - User, the shortcut key I set:

[
{ "keys": ["ctrl+f9"], "command": "build" },
{ "keys": ["f10"], "command": "build", "args": {"variant": "Run"} },
{ "keys": ["ctrl+shift+x"], "command": "toggle_comment", "args": { "block": true } },//快速注释
{"keys": ["ctrl+shift+f"],"command": "reindent"},//代码格式化
{ "keys": ["alt+c"], "command": "toggle_bookmark" },//快捷高亮标记位置
{"keys": ["ctrl+d"],"command": "toggle_side_bar"},//隐藏侧边栏
]
{
    "color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
    "font_size": 14,
    "word_wrap": true,   // 自动换行
    "ignored_packages":
    [
        "Vintage"
    ],
    "update_check": false
}

Theme's:

1. Add the .zip suffix to the \Packages\Theme - Default.sublime-package file in the installation directory, open and decompress it with compression software;

2. Unzip it Find Default.sublime-theme in the file and open it with a text editor;

3. Find "//Tab Labels", find "selected" under this part of the configuration, and change the fg in all selected blocks The value of is changed from "[255, 255, 255, 255]" to "[255, 216, 0, 255]";

4. Save the edited file and package the decompressed directory into zip Format, then replace \Packages\Theme -

5: SyncedSidebarBg sidebar theme plug-in

soda sidebar plug-in

Seti.sublime-theme tab bar theme, side Sidebar enhanced theme

6: Directly download a file icon for the sidebar icon; use monokai for the color scheme; use adaptive for the theme;

Solve the problem that the online registration code will become invalid after a short time Question, modify the local hostc and add the two ip addresses. In the cloud disk

From the first version of Sublime Text (1.0) to the present (3.0 3065), Chinese input methods (including Japanese input methods) have a problem: the input box does not follow.

Currently, this bug has not been officially fixed. The solution is to install the IMESupport plug-in and then restart Sublime Text to solve the problem.

7: Solve the hover display function when the mouse is on a certain line of content. Position; "show_definitions": false, Modify the default in the settings. I don’t know why it failed later. I made a mistake. It should be in the settings, not the shortcut key settings.

8: Solve the constant prompts Update problem;--Just changing it is not enough;--You need to modify the hosts file first, and then enter the registration code--It's completely OK

{
"font_size": 12,
"update_check": false
}

c:\windows\system32\drivers\etc --Add all Go in - still not working;

#to solv sublime Text IPv6
#50.116.34.243 sublime.wbond.net
#end

Finally, you still need to enter the registration code to solve the problem

127.0.0.1 license.sublimehq.com
127.0.0.1 45.55.255.55
127.0.0.1 45.55.41.223

For more sublime related technical articles, please visit sublimeColumn.

The above is the detailed content of Modify sublime text shortcut keys and themes. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete