Skip to content

Commit e301603

Browse files
committed
restructure README, add command names and basic how-to-install
1 parent 4989bb1 commit e301603

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@
33

44
A Sublime Test 3 Plugin which enhances editing of multiple selections. In case you aren't familar with Sublime's awesome multiple selection features, visit [this page](https://www.sublimetext.com/docs/2/multiple_selection_with_the_keyboard.html).
55

6+
## Features
67

7-
## Extend the current selection with the last selection
8+
### Extend the current selection with the last selection
89

9-
Sometimes Sublime's standard features for creating multiple selections won't cut it. MultiEditUtils allows to select the desired parts individually and merge the selections with one hotkey (**ctrl+alt+u**)
10+
Sometimes Sublime's standard features for creating multiple selections won't cut it. MultiEditUtils allows to select the desired parts individually and merge the selections with the ```add_last_selection``` command (default keybinding is **ctrl/cmd+alt+u**).
1011

1112
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/01%20expand%20with%20last%20region.gif)
1213

1314

14-
## Normalize and toggle region ends
15+
### Split the selection
1516

16-
When creating selections in Sublime, it can occur that the end of the selection comes before the beginning. This happens when you make the selection "backwards". To resolve this, you can normalize the regions with MultiEditUtils' **ctrl+alt+n** command. When executing this command a second time, all regions will be reversed.
17+
Sublime has a default command to split selections into lines, but sometimes you want to define your own splitting character(s). MultiEditUtils' ```split_selection``` command (default keybinding is **ctrl/cmd+alt+,**) will ask you for a separator and split the selection using your input. An empty separator will split the selection into its characters.
18+
19+
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/05%20split%20selection.gif)
20+
21+
22+
### Normalize and toggle region ends
23+
24+
When creating selections in Sublime, it can occur that the end of the selection comes before the beginning. This happens when you make the selection "backwards". To resolve this, you can normalize the regions with MultiEditUtils' ```normalize_region_ends``` command (default keybinding is **ctrl/cmd+alt+n**). When executing this command a second time, all regions will be reversed.
1725

1826
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/02a%20normalize%20region%20ends.gif)
1927

@@ -22,22 +30,20 @@ This feature can also be very handy when you want to toggle the selection end of
2230
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/02b%20toggle%20selection%20end.gif)
2331

2432

25-
## Jump to last region
33+
### Jump to last region
2634

27-
When exiting multi selection mode, Sublime will set the cursor to the **first** region of your previous selection. This can be annoying if the regions were scattered throughout the current buffer and you want to continue your work at the **last** region. To avoid this, just execute MultiEditUtils' **shift+esc** command and the cursor will jump to the last region.
35+
When exiting multi selection mode, Sublime will set the cursor to the **first** region of your previous selection. This can be annoying if the regions were scattered throughout the current buffer and you want to continue your work at the **last** region. To avoid this, just execute MultiEditUtils' ```jump_to_last_region``` command (default keybinding is **shift+esc**) and the cursor will jump to the last region.
2836

2937
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/03%20jump%20to%20last%20region.gif)
3038

3139

32-
## Cycle through the regions
40+
### Cycle through the regions
3341

34-
In case you want to double check your current selections, MultiEditUtils' **ctrl+alt+c** command will let you cycle through the active regions. This can come handy if the regions don't fit on one screen and you want to avoid scrolling through the whole file.
42+
In case you want to double check your current selections, MultiEditUtils' ```cycle_through_regions``` command (default keybinding is **ctrl/cmd+alt+c**) will let you cycle through the active regions. This can come handy if the regions don't fit on one screen and you want to avoid scrolling through the whole file.
3543

3644
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/04%20cycle%20through%20regions.gif)
3745

3846

39-
## Split the selection
40-
41-
Sublime has a default command to split selections into lines, but sometimes you want to define your own splitting character(s). MultiEditUtils' **ctrl+alt+,** command will ask you for a separator and split the selection using your input. An empty separator will split the selection into its characters.
47+
## Installation
4248

43-
![](http://philippotto.github.io/Sublime-MultiEditUtils/screens/05%20split%20selection.gif)
49+
Either use [Package Control](https://sublime.wbond.net/installation) and search for `MultiEditUtils` or clone this repository into Sublime Text "Packages" directory.

0 commit comments

Comments
 (0)