Skip to content

Commit

Permalink
improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Apr 29, 2024
1 parent d2e01ef commit a613904
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ This is a **VSCode extension** inspired by the [Vim](https://www.vim.org/) plugi

## Configuration 🛠️

Add this command to your keymappings:
You have to add a custom keybind for this extension to work in your `keybindings.json` file:

1. Open **Command Palette**.
2. On Windows and Linux, press `Ctrl + Shift + P`. On macOS, press `Cmd + Shift + P`.
3. Search for `Open Keyboard Shortcuts (JSON)` and select it from the list. This command takes you directly to the `keybindings.json` file where all keyboard shortcuts customizations will be defined.
4. You can now add your keybinding for this extension to work. If you're adding the customization for the first time, you might see an empty array `[]`. Add the following:

```jsonc
{
Expand All @@ -25,7 +30,7 @@ Add this command to your keymappings:
}
```

You can customize the color and the duration of the highlight with these entries in your `settings.json`:
Also, you can customize the color and the duration of the highlight with these entries in your `settings.json`:

```jsonc
{
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Highlight on Copy",
"publisher": "mguellsegarra",
"description": "Briefly flash and highlight selected copied text",
"version": "1.0.1",
"version": "1.0.2",
"icon": "icon.png",
"engines": {
"vscode": "^1.88.0"
Expand Down

0 comments on commit a613904

Please sign in to comment.