Merge pull request #159 from rizqyhi/sublime-text

Add some shortcuts to Sublime text sheet
This commit is contained in:
Rico Sta. Cruz 2017-12-22 23:44:21 +08:00 committed by GitHub
commit c0a545a817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

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