Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the Sublime Text2 shortcut keys?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces what Sublime Text2 shortcut keys have, which can be used for reference by interested friends. I hope you can learn a lot after reading this article. Let's take a look at it.

Sublime Text2 is a very awesome, very sexy code editor, which has always been my favorite editor.

The main features of Sublime Text include: spell checking, bookmarking, complete Python API, Goto functions, instant project switching, multi-choice, multi-window and so on.

It has a beautiful user interface and extraordinary features, such as mini maps, multiple choices, Python plug-ins, code snippets, and so on. Fully customizable key bindings, menus and toolbars.

No more nonsense, for details, check out its website: http://www.sublimetext.com/

Lucifr translated the Mac version of Sublime Text2 shortcuts. According to its translation, I compiled a list of the main shortcut keys for the Windows version:

Open / go to:

Ctrl+P Goto Anything

Ctrl+R Goto method

Ctrl+Shift+P Command prompt

Ctrl+G goes to a certain line.

Ctrl+K+B switch sidebar

Ctrl+ `python console

Ctrl+N New window

Ctrl+Shift+ ↑ swaps with uplink

Ctrl+Shift+ ↓ swaps with downlink

Edit:

Ctrl+L Select the entire row (press and hold-continue to select the following line)

Ctrl+D word selection (press and hold-continue to select the next same string)

Ctrl+Shift+D copies the entire line of the cursor and inserts it before the row

Ctrl+Shift+K deletes the entire row

Delete Ctrl+KK from the cursor to the end of the line

Ctrl+K+Backspace is removed from the cursor to the beginning of the line

Ctrl+J merge (multiple) rows (when multiple rows to be merged have been selected)

Ctrl+KU changed to uppercase

Ctrl+KL changed to lowercase

Ctrl+ / comments (if selected, same as "Ctrl+Shift+/" effect)

Ctrl+Shift / block comment (comment has been selected)

Ctrl+Y resume revocation

Automatic completion of Tab indentation

Shift+Tab remove indent

Insert a row after the line of the Ctrl+Enter cursor

Insert a row before the row where the Ctrl+Shift+Enter cursor is located

Alt+. Close the current label

Ctrl+Shift+A Select cursor position parent tag pair

Ctrl+Shift+ [collapse code

Ctrl+Shift+] deployment code

Split window / tab-this is cool:

Alt+Shift+1 single column

Alt+Shift+2 double column

Alt+Shift+5 Grid (4 groups)

Ctrl+ [1, 2, 3, 4] focus moves to the corresponding group.

Ctrl+Shift+ move the current file to the appropriate group

Alt+ [1, 2, 2, 3...] Select the appropriate tab

Bookmark:

Ctrl+F2 set / clear bookmarks

F2 next bookmark

Last bookmark on Shift+F2

Thank you for reading this article carefully. I hope the article "what are the Sublime Text2 shortcuts" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology