Commit Graph

424 Commits

Author SHA1 Message Date
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
Grégoire Geis
3430afbfa4 misc: rename input to more accurate identifiers 2022-05-14 01:32:55 +02:00
Grégoire Geis
6ae428812e commands: add .selections.changeOrder, .selections.sort 2022-05-14 01:14:41 +02:00
Grégoire Geis
c7ded66d7f commands: fix .history.repeat.seek (fixes #257) 2022-05-07 13:52:08 +02:00
Grégoire Geis
7f1963cef0 misc: change how commands are defined and executed (fixes #258) 2022-05-07 13:44:36 +02:00
Grégoire Geis
cd345d577f api: improve allowed run patterns (fixes #256) 2022-05-07 09:22:16 +02:00
Grégoire Geis
da1682bb27 misc: add keybindings for numpad keys (fixes #137) 2022-05-05 22:25:31 +02:00
Grégoire Geis
1bd3a7cf5d misc: support escape sequences in regexp replacement strings (fixes #252) 2022-05-04 09:26:26 +02:00
Grégoire Geis
57fc476c57 commands: pass input to first command in additional commands list 2022-04-30 16:12:20 +02:00
Grégoire Geis
74d2238150 api: let node.js handle missing automation profile 2022-04-30 15:43:05 +02:00
Grégoire Geis
4e9d32f244 api: respect automation profile to run commands (fixes #248) 2022-04-30 15:40:28 +02:00
Grégoire Geis
e5a821ebb9 api: use search in moveTo (fixes #251) 2022-04-30 13:59:45 +02:00
dependabot[bot]
fe55de8a74 build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 22:10:43 +01:00
Grégoire Geis
3230c2320e test: disable flaky history test 2022-03-17 13:32:46 +01:00
Grégoire Geis
6611fe68ff misc: upgrade dependencies and fix packaging issues 2022-03-17 13:25:51 +01:00
Grégoire Geis
577d168c2f package.json: bump version to 0.5.9 2022-03-17 12:38:40 +01:00
Grégoire Geis
ff1df1c0c8 commands: fix esc, s-q not stopping recording (fixes #243) 2022-03-08 21:35:44 +01:00
Grégoire Geis
4332956f95 misc: improve sidebar logo 2022-03-03 00:37:50 +01:00
Grégoire Geis
54fccd56d4 misc: fix style, eslint config 2022-03-03 00:31:07 +01:00
Grégoire Geis
e57f9515bd doc: remove disclaimer and update README 2022-03-03 00:09:29 +01:00
Grégoire Geis
db2fbbfb60 misc: add registers view 2022-03-03 00:03:52 +01:00
Grégoire Geis
042a044936 api: fix commands ignoring count and register changes 2022-03-02 21:02:27 +01:00