From 30153ac57321882bf5b903431e251df03681a3d2 Mon Sep 17 00:00:00 2001 From: Rizqy H Date: Fri, 27 Oct 2017 01:10:17 +0700 Subject: [PATCH 1/3] Small addition to sublime text shortcuts --- sublime-text.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sublime-text.md b/sublime-text.md index 1dde2aa6c..bf3e9b2b5 100644 --- a/sublime-text.md +++ b/sublime-text.md @@ -25,9 +25,16 @@ Replace ⌘ with Ctrl on Windows and Linux. | `⌘ K` `⌘ 0` | unfold everything | {: .-shortcuts} +### Editing + +| `⌘ ⇧ D` | duplicate current line/selection | +| `⌘ ⇧ K` | delete current line/selection | + ### 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 `@`) | From bd32c29d7402f2628154ad907fe11fe6c38a3d49 Mon Sep 17 00:00:00 2001 From: Rizqy H Date: Fri, 27 Oct 2017 18:09:55 +0700 Subject: [PATCH 2/3] Adding ctrl+shift+l shortcut to enable multiple lines editing --- sublime-text.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sublime-text.md b/sublime-text.md index bf3e9b2b5..c9cc49ab3 100644 --- a/sublime-text.md +++ b/sublime-text.md @@ -8,7 +8,8 @@ layout: 2017/sheet | `⌘ D` | select current word (repeat to include next instance of word) | | `⌘ L` | select current line (repeat to include next line) | -| `⌘ ⇧ A` | select text inside tag (repeat to expand) | +| `⌘ ⇧ 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} From 676434aa5c3873f337b9d6637ee9fb738861b7e9 Mon Sep 17 00:00:00 2001 From: Rizqy H Date: Fri, 27 Oct 2017 18:13:28 +0700 Subject: [PATCH 3/3] Fix forgotten shortcuts style --- sublime-text.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sublime-text.md b/sublime-text.md index c9cc49ab3..7620912a6 100644 --- a/sublime-text.md +++ b/sublime-text.md @@ -30,6 +30,7 @@ Replace ⌘ with Ctrl on Windows and Linux. | `⌘ ⇧ D` | duplicate current line/selection | | `⌘ ⇧ K` | delete current line/selection | +{: .-shortcuts} ### Goto