Merge pull request #159 from rizqyhi/sublime-text
Add some shortcuts to Sublime text sheet
This commit is contained in:
commit
c0a545a817
|
@ -8,6 +8,7 @@ layout: 2017/sheet
|
||||||
|
|
||||||
| `⌘ D` | select current word (repeat to include next instance of word) |
|
| `⌘ D` | select current word (repeat to include next instance of word) |
|
||||||
| `⌘ L` | select current line (repeat to include next line) |
|
| `⌘ L` | select current line (repeat to include next line) |
|
||||||
|
| `⌘ ⇧ L` | split selection into multiple lines |
|
||||||
| `⌘ ⇧ A` | select text inside tag (repeat to expand) |
|
| `⌘ ⇧ A` | select text inside tag (repeat to expand) |
|
||||||
| `Ctrl ⇧ M` | select to curly or angle brackets (repeat to expand) |
|
| `Ctrl ⇧ M` | select to curly or angle brackets (repeat to expand) |
|
||||||
{: .-shortcuts}
|
{: .-shortcuts}
|
||||||
|
@ -25,9 +26,17 @@ Replace ⌘ with Ctrl on Windows and Linux.
|
||||||
| `⌘ K` `⌘ 0` | unfold everything |
|
| `⌘ K` `⌘ 0` | unfold everything |
|
||||||
{: .-shortcuts}
|
{: .-shortcuts}
|
||||||
|
|
||||||
|
### Editing
|
||||||
|
|
||||||
|
| `⌘ ⇧ D` | duplicate current line/selection |
|
||||||
|
| `⌘ ⇧ K` | delete current line/selection |
|
||||||
|
{: .-shortcuts}
|
||||||
|
|
||||||
### Goto
|
### Goto
|
||||||
|
|
||||||
| `⌘ P` | goto anything |
|
| `⌘ P` | goto anything |
|
||||||
|
| `⌘ G` | goto line number |
|
||||||
|
| `⌘ R` | goto symbol |
|
||||||
| `⌘ P, :` | goto line number (enter number after `:`) |
|
| `⌘ P, :` | goto line number (enter number after `:`) |
|
||||||
| `⌘ P, #` | goto and list fuzzy-matches of string (enter characters after `#`) |
|
| `⌘ P, #` | goto and list fuzzy-matches of string (enter characters after `#`) |
|
||||||
| `⌘ P, @` | goto and list symbol (begin typing symbol name after `@`) |
|
| `⌘ P, @` | goto and list symbol (begin typing symbol name after `@`) |
|
||||||
|
|
Loading…
Reference in New Issue