Commit Graph

445 Commits

Author SHA1 Message Date
Silverquark
50af86da16
added link to vscode extension in readme 2022-11-23 22:24:21 +01:00
Silverquark
eac3819df9
Merge pull request #1 from Silverquark/helixBindings
Helix bindings
2022-11-23 22:19:36 +01:00
Karim Abou Zeid
2907199856 fix: match helix for split lines (a-s) 2022-11-23 22:18:19 +01:00
Leo Lüker
a81085979c remove a-o and s-a-o. they are not helix keybindings and clash with the builtin organize imports 2022-11-23 22:17:48 +01:00
Karim Abou Zeid
c33b9b32dc fix: wrong description for paste P 2022-11-21 21:09:02 +01:00
Karim Abou Zeid
ca2b93176c feat: toggle comments with ctrl+c 2022-11-21 21:09:02 +01:00
Karim Abou Zeid
a4f099e0c0 c-i/c-o navigation 2022-11-21 21:07:31 +01:00
Karim Abou Zeid
c9c32f53f1 fix: sorround -> surround typo 2022-11-21 21:07:31 +01:00
Karim Abou Zeid
28f1f486fc fix selection sort order 2022-11-21 21:07:31 +01:00
Karim Abou Zeid
0b9e6eb0bf fix x and ,/; 2022-11-21 21:07:31 +01:00
Leo Lüker
8258d1a356 - generated package.json 2022-11-21 21:05:48 +01:00
Leo Lüker
74869848ed Fixed goto definition not working due to a typo 2022-11-21 21:05:48 +01:00
Leo Lüker
43d853dd0f - fixed b and w in visual mode shortening selection on the wrong side of the selection
- fixed switching from normal to visual mode removing selection
- s-; now working in visual mode
- removed line decorations from normal/visual mode
- fixed selection issue when switching modes
2022-11-21 21:05:38 +01:00
Leo Lüker
6d773e1401 a 2022-11-21 21:03:23 +01:00
Leo Lüker
efdb82e4e8 - fixed insert mode not accessible from visual mode
- fixed selectionBehaviour not being character mode
- made window mode accessible from space mode
- changed visual mode default cursorstyle to underline to match helix
2022-11-21 21:02:11 +01:00
Leo Lüker
711f3d099b updated readme 2022-11-21 21:00:10 +01:00
Leo Lüker
9dbdfb5f11 fixed match inner and outer modes 2022-11-21 21:00:10 +01:00
Leo Lüker
37de5cf082 fixed match replace
added math delete
2022-11-21 21:00:10 +01:00
Leo Lüker
74aa79b500 updated readme 2022-11-21 20:55:23 +01:00
Leo Lüker
fa1f066fbd made a lot of bindings compatible with visual mode 2022-11-21 20:55:23 +01:00
Leo Lüker
1245d6ae03 select in visual mode:
- %
- hjkl
- left, right, up, down
- ctrl+f, ctrl+d, ctrl+b, ctrl+u
- g (goto menu)
- x
2022-11-21 20:25:27 +01:00
Leo Lüker
a5984e113d added support for visual mode 2022-11-21 20:20:35 +01:00
Grégoire Geis
7d73bfc024 package.json: fix pre-release script 2022-11-11 11:26:36 +01:00
Grégoire Geis
ec6cc87826 package.json: pre-release 0.5.12001 2022-11-11 11:21:11 +01:00
Grégoire Geis
ec90111ffa commands: select with {p,s-p}, fix {p,s-p,a-p,s-a-p} (fixes #276, #281) 2022-11-11 10:49:38 +01:00
Karim Abou Zeid
0acf74fc9f enable word highlighting for dance selection 2022-11-10 16:01:21 +01:00
Grégoire Geis
52a7c20d17 commands: scroll buffer after .seek.object (fixes #266) 2022-11-10 16:00:10 +01:00
Grégoire Geis
1d28df9750 misc: make sure READMEs are generated after commands.yaml 2022-11-04 23:58:14 +09:00
Grégoire Geis
eeda66b3db commands: make {a-,}! select inserted contents (#281) 2022-11-04 23:33:43 +09:00
Grégoire Geis
a3772ef914 commands: remap {a-x,s-a-x}to {x,a-x} (#281)
Also fix issues with `.selections.trimLines` and
`.selections.expandToLines` and upgrade `typescript`.
2022-11-04 23:19:32 +09:00
Grégoire Geis
5779d9c003 commands: remap {a-,}space to {a-,}, (#281) 2022-11-03 00:10:34 +09:00
Grégoire Geis
73d32adb80 package.json: bump version to 0.5.12 (prerelease) 2022-10-11 15:56:32 +09:00
Grégoire Geis
8d3e5398f9 commands: add .seek.leap (wip)
Inspired by https://github.com/ggandor/leap.nvim, `.seek.leap`
leaps to the first position on the screen that matches the two given
characters, with the ability to further jump to other labels.

`s` and `a-s` are rebound to call `.seek.leap` when all current
selections are empty.

Unfortunately, due to limitations in VS Code (/ lack of proper hacks
in Dance), the character sent directly after the leap will be
ignored.
2022-10-11 12:13:33 +09:00
Grégoire Geis
6d305ef65e commands: accept modifiers e.g. (?i) in regexps 2022-10-09 08:05:41 +09:00
Grégoire Geis
1341210097 commands: prepare support for multiple layouts and locales 2022-10-05 22:01:41 +09:00
Grégoire Geis
ad61336bff commands: fix argument not being properly passed to .run 2022-08-28 13:06:59 +02:00
Grégoire Geis
cd05df62c2 actions: clean up main.yml
- separate publishing to a separate job
- remove redundant calls to `success()`
- only publish if `github.event_name` is "push"
2022-07-31 09:07:47 +02:00
Grégoire Geis
a8cc6242b1 api: make switchToDocument a no-op for same doc
Switching to a document always leads to VS Code focusing on the document
in a **non-diff** editor, so if we focus on the current document while
editing it in a diff-editor, it will exit the diff, which is undesired.
This change makes switchToDocument a no-op when switching to the current
document, avoiding this problem.

Fixes #268.
2022-07-30 13:30:49 +02:00
Grégoire Geis
17aec4eb5a misc: some typescript changes 2022-07-01 12:21:20 +02:00
Grégoire Geis
d7fc7e43ed commands: change Alt modifier for rotate commands 2022-06-14 16:31:29 +09:00
Grégoire Geis
d71907775f package.json: bump version to 0.5.11 2022-05-30 17:38:16 +09:00
Grégoire Geis
a869306ac3 misc: fix .build.ts detection on Windows 2022-05-30 17:37:06 +09:00
Grégoire Geis
771a8bc111 api: fix run with non-dance commands (fixes #262) 2022-05-30 17:33:31 +09:00
Grégoire Geis
8439f2ad82 misc: fix code style 2022-05-14 12:14:56 +02:00
Grégoire Geis
8c9f9c2745 test: disable last (flaky) history test 2022-05-14 12:11:42 +02:00
Grégoire Geis
12c78774fa misc: upgrade dependencies 2022-05-14 12:10:29 +02:00
Grégoire Geis
bea5c502ed misc: convert .then() to await in most functions 2022-05-14 11:44:15 +02:00
Grégoire Geis
29d9b021fc package.json: bump version to 0.5.10 2022-05-14 01:50:23 +02:00
Grégoire Geis
d8e1553a51 test: disable other flaky history test 2022-05-14 01:44:50 +02:00
Grégoire Geis
3929318681 misc: fix recursive module dependency 2022-05-14 01:41:49 +02:00