Skip to content

Commit

Permalink
Fix binding: Shift+R
Browse files Browse the repository at this point in the history
  • Loading branch information
Strackeror committed Jul 17, 2024
1 parent 1b71b25 commit 91bc9d6
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 19 deletions.
22 changes: 12 additions & 10 deletions extensions/helix/package.json

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

4 changes: 3 additions & 1 deletion src/api/data/commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ edit.insert:
keys:
qwerty: |-
`s-a-r` (kakoune: normal)
`s-r` (helix: normal)
`s-r` (helix: select)
doc:
en: |
Expand All @@ -214,7 +216,7 @@ edit.insert:
| Title | Identifier | Keybinding | Commands |
| ---------------------------------- | ------------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| Pick register and replace | `selectRegister-insert` | `c-r` (kakoune: normal), `c-r` (kakoune: insert) | `[".selectRegister", { +register }], [".edit.insert", { ... }]` |
| Paste before | `paste.before` | `s-p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "start", ... }]` |
| Paste before | `paste.before` | `s-p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "start", ... }]` |
| Paste after | `paste.after` | `p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "end" , ... }]` |
| Paste before and select | `paste.before.select` | `s-p` (core: normal) | `[".edit.insert", { handleNewLine: true, where: "start", shift: "select", ... }]` |
| Paste after and select | `paste.after.select` | `p` (core: normal) | `[".edit.insert", { handleNewLine: true, where: "end" , shift: "select", ... }]` |
Expand Down
6 changes: 4 additions & 2 deletions src/commands/README.md

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

4 changes: 2 additions & 2 deletions src/commands/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ declare module "./edit";
*
* Specify `all` to paste all contents next to each selection.
*
* @keys `s-a-r` (kakoune: normal)
* @keys `s-a-r` (kakoune: normal), `s-r` (helix: normal), `s-r` (helix: select)
*
* #### Additional commands
*
* | Title | Identifier | Keybinding | Commands |
* | ---------------------------------- | ------------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
* | Pick register and replace | `selectRegister-insert` | `c-r` (kakoune: normal), `c-r` (kakoune: insert) | `[".selectRegister", { +register }], [".edit.insert", { ... }]` |
* | Paste before | `paste.before` | `s-p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "start", ... }]` |
* | Paste before | `paste.before` | `s-p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "start", ... }]` |
* | Paste after | `paste.after` | `p` (helix: select) | `[".edit.insert", { handleNewLine: true, where: "end" , ... }]` |
* | Paste before and select | `paste.before.select` | `s-p` (core: normal) | `[".edit.insert", { handleNewLine: true, where: "start", shift: "select", ... }]` |
* | Paste after and select | `paste.after.select` | `p` (core: normal) | `[".edit.insert", { handleNewLine: true, where: "end" , shift: "select", ... }]` |
Expand Down
6 changes: 4 additions & 2 deletions src/commands/layouts/azerty.fr.md

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

6 changes: 4 additions & 2 deletions src/commands/layouts/qwerty.md

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

0 comments on commit 91bc9d6

Please sign in to comment.