search
HomeDevelopment ToolssublimeModify sublime text shortcut keys and themes

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. If there is any infringement, please contact admin@php.cn delete
How to run sublimeHow to run sublimeApr 16, 2025 am 09:39 AM

To run Sublime Text, you need to download, install the application, purchase a license (optional), and then launch the application. Create or open a file to start encoding.

How to Chinese sublimeHow to Chinese sublimeApr 16, 2025 am 09:36 AM

Sublime Text can be Chineseized through the following steps: 1. Download the Chinese package; 2. Install the Chinese package; 3. Restart Sublime Text; 4. Set the default language (optional); 5. Verify the Chinese version.

How to delete sublime plug-inHow to delete sublime plug-inApr 16, 2025 am 09:33 AM

There are two ways to delete plugins in Sublime Text: Delete through the Plug-in Manager: Select the plug-in you want to delete and right-click and select "Delete". Manually Delete: Navigate to the user data directory, locate the plugin folder and drag it to the Recycle Bin or Trash.

How to write code with gbk in sublimeHow to write code with gbk in sublimeApr 16, 2025 am 09:30 AM

To write code using GBK encoding in Sublime Text, you need to: 1. Set the project encoding to GBK; 2. Create a new file; 3. Select GBK encoding when saving as; 4. Enter the code using GBK encoding.

How to change sublime to ChineseHow to change sublime to ChineseApr 16, 2025 am 09:27 AM

sublime can be translated into Chinese as: 1. Sublime, sacred; 2. Extreme, extraordinary; 3. Indescribable, awesome; 4. Sublime thought.

How to get the registration code for sublimeHow to get the registration code for sublimeApr 16, 2025 am 09:24 AM

The steps to purchase a Sublime Text registration code are as follows: Visit the website and select "Buy". Select the license type and enter information. Pay and receive emails containing registration codes. Open Sublime Text, go to the License menu and paste the registration code. Click Register to activate your registration code and advanced features.

How to save the code in sublimeHow to save the code in sublimeApr 16, 2025 am 09:21 AM

Sublime Text provides a variety of ways to save code, including shortcut keys (Ctrl S), menu bar (File > Save), toolbar (disk icon), and command panel (Ctrl P). In addition, it also provides an automatic save function, which can automatically save open files regularly.

How to use arrow function for sublimeHow to use arrow function for sublimeApr 16, 2025 am 09:18 AM

Use arrow functions to define anonymous functions in Sublime Text concisely and quickly, with the syntax: (parameter list) => expressions. The advantages include simplicity, readability, scope inheritance and closure functions. Notes include extension operators and this keyword limitations, and the need for explicit return statements for multi-line functions.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool