Skip to content

Commit 7a70af6

Browse files
authored
Merge pull request #21 from dandehoon/chore/readme [patch]
docs: update README for clarity and add marketplace badge
2 parents fdd56da + 8c2be41 commit 7a70af6

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Generic Expand Selection
22

3+
[![VS Code Marketplace](https://vsmarketplacebadges.dev/version/dandehoon.vscode-generic-expand-selection.png)](https://marketplace.visualstudio.com/items?itemName=dandehoon.vscode-generic-expand-selection)
34
[![Test](https://github.com/dandehoon/vscode-generic-expand-selection/actions/workflows/test.yml/badge.svg)](https://github.com/dandehoon/vscode-generic-expand-selection/actions/workflows/test.yml)
45

56
Smartly expand or shrink your code selection, recover from misclicks or accidental cursor moves.
@@ -8,13 +9,13 @@ Smartly expand or shrink your code selection, recover from misclicks or accident
89

910
### Rules
1011

11-
**Token Expansion**: Expands to word tokens (identifiers, keywords, etc.) with customizable patterns.
12-
**Quote Expansion**: Expands to content within quotes (`"`, `'`, `` ` ``)
13-
**Scope Expansion**: Expands to content within open-close pairs (`[]`, `{}`, `()`)
14-
**Line Expansion**: Expands to full line(s) content
15-
**Selection History**: Remember previous selections for step-by-step shrinking
12+
- **Token Expansion**: Expands to character tokens with customizable patterns.
13+
- **Quote Expansion**: Expands to content within quotes (`"`, `'`, `` ` ``).
14+
- **Scope Expansion**: Expands to content within open-close pairs (`[]`, `{}`, `()`).
15+
- **Line Expansion**: Expands to full line(s) content.
16+
- **Selection History**: Remember previous selections for step-by-step shrinking.
1617

17-
### Examples
18+
### Example
1819

1920
Text: `const config = { url: 'https://example.com' };`
2021

@@ -32,12 +33,16 @@ With cursor on `xamp`, next expansions will be:
3233

3334
## Usage
3435

36+
### Quick Install
37+
38+
[**Get it on VS Code Marketplace**](https://marketplace.visualstudio.com/items?itemName=dandehoon.vscode-generic-expand-selection)
39+
3540
### Commands & Keybindings
3641

37-
| Command | Description | Default Keybinding |
38-
| ------------------------------- | ---------------- | ----------------------------------------------- |
39-
| `genericExpandSelection.expand` | Expand Selection | `Ctrl+E` (Win/Linux), `Cmd+E` (Mac) |
40-
| `genericExpandSelection.shrink` | Shrink Selection | `Ctrl+Shift+E` (Win/Linux), `Cmd+Shift+E` (Mac) |
42+
| Command | Default Keybinding | Description |
43+
| ------------------------------- | ----------------------------------------------- | ---------------- |
44+
| `genericExpandSelection.expand` | `Ctrl+E` (Win/Linux), `Cmd+E` (Mac) | Expand Selection |
45+
| `genericExpandSelection.shrink` | `Ctrl+Shift+E` (Win/Linux), `Cmd+Shift+E` (Mac) | Shrink Selection |
4146

4247
> [!TIP]
4348
> Both commands work with single and multiple cursor selections.

0 commit comments

Comments
 (0)