<commit_before># Sublime ExtendSelection

ExtendSelection is a [Sublime Text 2](http://www.sublimetext.com/2)[/3](http://www.sublimetext.com/3) plugin that allows you to make multiple selections more easily.

After triggering the "Extend Selection" command  (be it by using the key shortcuts, or the menu item in the "Selection" menu), you simply make a new selection and it will get added to the current one, instead of replacing it. You can make the new selection(s) in whatever way you would like - any method of navigation should be handled well.

## Usage

### Add the next selection to the current one

	alt+shift+m
    
It will listen for the next change in the selection and append it to the previous selection ("current selection" at time of pressing alt+shift+m).

#### Example

For example, if I want to keep my current selection at `line 15, column 10` and add to it a caret at line 12, I would trigger the "Extend Selection" command (default <kbd>alt+shift+m</kbd>), then call "Goto line", type ":12" and press enter. That will move my caret to the beginning of line 12 but because I triggered "Extend Selection" beforehand, the new selection will be added to the previous one, rather than replacing it. So I will have a multi-selection at `line 12, column 0` and `line 15, column 10`.

## Installation

### Install via PackageControl -unavailable yet

The package is not yet approved by the "Package Control" team, so until then, the only option is manual installation.

### Manual Installation

Manual installation should be as easy as cloning this git repository into your Sublime `Packages` directory. '(mind the version of sublime)'

On Windows:
	cd "%AppData%\Sublime Text 2\Packages"
	git clone git://github.com/anly2/sublime-extend-selection.git ExtendSelection<commit_msg>minor fix to the markdown in the README<commit_after># Sublime ExtendSelection

ExtendSelection is a [Sublime Text 2](http://www.sublimetext.com/2)[/3](http://www.sublimetext.com/3) plugin that allows you to make multiple selections more easily.

After triggering the "Extend Selection" command  (be it by using the key shortcuts, or the menu item in the "Selection" menu), you simply make a new selection and it will get added to the current one, instead of replacing it. You can make the new selection(s) in whatever way you would like - any method of navigation should be handled well.

## Usage

### Add the next selection to the current one

	alt+shift+m
    
It will listen for the next change in the selection and append it to the previous selection ("current selection" at time of pressing alt+shift+m).

#### Example

For example, if I want to keep my current selection at `line 15, column 10` and add to it a caret at line 12, I would trigger the "Extend Selection" command (default <kbd>alt+shift+m</kbd>), then call "Goto line", type ":12" and press enter. That will move my caret to the beginning of line 12 but because I triggered "Extend Selection" beforehand, the new selection will be added to the previous one, rather than replacing it. So I will have a multi-selection at `line 12, column 0` and `line 15, column 10`.

## Installation

### Install via PackageControl -unavailable yet

The package is not yet approved by the "Package Control" team, so until then, the only option is manual installation.

### Manual Installation

Manual installation should be as easy as cloning this git repository into your Sublime `Packages` directory. '(mind the version of sublime)'

On Windows:

	cd "%AppData%\Sublime Text 2\Packages"
	git clone git://github.com/anly2/sublime-extend-selection.git ExtendSelection
{'fraction_non_alphanumeric': 0.07302904564315353, 'fraction_numerical': 0.01272475795297372, 'mean_word_length': 4.487101669195751, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '690903', 'n_tokens_mistral': 1016, 'n_tokens_neox': 953, 'n_words': 532}