markdown Sublime Text 3 - 快捷方式

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Sublime Text 3 - 快捷方式相关的知识,希望对你有一定的参考价值。

# Sublime Text 3 - Useful Shortcuts (Windows)

## General

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> | command prompt |
| <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>P</kbd> | switch project |
| <kbd>Ctrl</kbd>+<kbd>P</kbd> | go to file |
| <kbd>Ctrl</kbd>+<kbd>G</kbd> | go to line |
| <kbd>Ctrl</kbd>+<kbd>R</kbd> | go to methods |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd> | go to methods in project |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>B</kbd> | toggle side bar |
| <kbd>Ctrl</kbd>+<kbd>`</kbd> | toggle console |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd> | new window |

## Editing

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>L</kbd> | select line (repeat select next lines) |
| <kbd>Ctrl</kbd>+<kbd>D</kbd> | select word (repeat select others occurrences in context for multiple editing) |
| <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Up</kbd> / <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Down</kbd> | select column for multiple editing |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>M</kbd> | select content into brackets |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Enter</kbd> | insert line before |
| <kbd>Ctrl</kbd>+<kbd>Enter</kbd> | inter line after |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>K</kbd> | delete line |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>K</kbd> | delete from cursor to end of line |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>Backspace</kbd> | delete from cursor to start of line |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd> | duplicate line(s) |
| <kbd>Ctrl</kbd>+<kbd>J</kbd> | join lines |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>U</kbd> | upper case |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>L</kbd> | lower case |
| <kbd>Ctrl</kbd>+<kbd>/</kbd> | comment line |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>/</kbd> | block comment |
| <kbd>Ctrl</kbd>+<kbd>Y</kbd> | redo or repeat |
| <kbd>Ctrl</kbd>+<kbd>C</kbd> | copy |
| <kbd>Ctrl</kbd>+<kbd>V</kbd> | paste |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>V</kbd> | paste and ident |
| <kbd>Ctrl</kbd>+<kbd>Space</kbd> | autocomplete (repeat to select next suggestion) |
| <kbd>Ctrl</kbd>+<kbd>M</kbd> | jump to matching brackets |
| <kbd>Ctrl</kbd>+<kbd>U</kbd> | soft undo (movement undo) |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>U</kbd> | soft redo (movement redo) |

## Code navigation

| Shortcut | Description |
| ---------| ----------- |
| <kbd>F12</kbd> | go to definition |
| <kbd>Alt</kbd>+<kbd>-</kbd> | jump back |
| <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>-</kbd> | jump forward |

## XML / HTML

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>A</kbd> | select content into tag |
| <kbd>Alt</kbd>+<kbd>.</kbd> | close tag |

## Find / Replace

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>F</kbd> | find |
| <kbd>Ctrl</kbd>+<kbd>I</kbd> | incremental find |
| <kbd>Ctrl</kbd>+<kbd>H</kbd> | replace |
| <kbd>F3</kbd> | find next occurrence of searched word |
| <kbd>Ctrl</kbd>+<kbd>F3</kbd> | find next occurrence of current word |
| <kbd>Alt</kbd>+<kbd>F3</kbd> | select all occurrences of current word for multiple editing |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd> | find in files |

## Navigation

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>0</kbd> | focus on sidebar |
| <kbd>Esc</kbd> | focus back to edit area when focus on sidebar |

## Splits / Tabs

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>1</kbd> | single column |
| <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>2</kbd> | two columns |
| <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>5</kbd> | grid (4 groups) |
| <kbd>Ctrl</kbd>+[1,2,3...] | focus group |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+[1,2,3...] | move file to group |
| <kbd>Alt</kbd>+[1,2,3...] | select tab |

## Bookmarks

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>F2</kbd> | toggle bookmark |
| <kbd>F2</kbd> | next bookmark |
| <kbd>Shift</kbd>+<kbd>F2</kbd> | previous bookmark |
| <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F2</kbd> | clear bookmarks |

## Marks

| Shortcut | Description |
| ---------| ----------- |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>Space</kbd> | set mark |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>W</kbd> | delete from cursor to mark |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>A</kbd> | select from cursor to mark |
| <kbd>Ctrl</kbd>+<kbd>K</kbd><kbd>G</kbd> | clear mark |

## Panes

Panes are groups of views.
In Sublime Text, you can have
multiple panes open at the same time.

Main keyboard shortcuts related
to panes:

| Shortcut | Description |
| ---------| ----------- |
| Create new pane       | Ctrl+K, Ctrl+↑     |
| Close active pane     | Ctrl+K, Ctrl+↓     |

Further pane management commands
can be found under **View → Layout**
and related submenus.

## More

Go to `Preferences` → `Key Bindings - Default` to explore all default shortcuts and read instructions for packages you installed to find out about their custom key bindings.

以上是关于markdown Sublime Text 3 - 快捷方式的主要内容,如果未能解决你的问题,请参考以下文章

markdown Sublime Text 3 - 快捷方式

markdown Sublime Text 3.md

markdown 在Ubuntu上安装Sublime Text 3。

如何使用Sublime Text 3作为Markdown编辑器

使用Sublime Text 3进行Markdown编辑+实时预览

Sublime Text 3配置支持Markdown编辑