Matt Ellis
976771d11a
Implement smap and snoremap
...
Support for sunmap and smapclear already exists, and vmap would introduce a Select mode map.
Fixes VIM-2260
2024-11-13 17:57:31 +02:00
Matt Ellis
5fc4462b03
Support map!
to map insert and cmdline modes
...
Also supports `mapclear!` and `unmap!`
Moves parsing of the bang modifier to the parser so we can tell the difference between `map! foo bar` and `map ! foo bar`
2024-11-13 17:57:31 +02:00
Matt Ellis
5f263e7014
Fix output of maps with same keys in multiple modes
...
E.g. `map foo bar` and `vmap foo baz` would only output one map for `foo` when calling `:map`. Now it will output all maps that match the ex command's modes. This change also improves the marker characters in the first column of map output.
2024-11-13 17:57:31 +02:00
Matt Ellis
4c899fcc93
Simplify test code
2024-11-13 17:57:31 +02:00
Matt Ellis
2f8fe392af
Use KeyStrokeTrie for maps
2024-11-13 17:57:31 +02:00
Matt Ellis
84c7e1159b
Introduce KeyStrokeTrie to find commands
...
Should also restore compatibility with idea-which-key
2024-11-13 17:57:31 +02:00
Matt Ellis
18d6f79796
Add missing C-PageUp/Down shortcuts to switch tab
...
Fixes VIM-2044
2024-11-13 17:52:28 +02:00
Matt Ellis
a745da9761
Add Shift+Enter mapping to scroll page forward
...
Fixes VIM-2752
2024-11-13 17:52:28 +02:00
Matt Ellis
5eb36ce428
Remove unneeded extended special name parsing
...
This was needed when action keys were registered in a comma separated list in a single XML attribute string. Additional encoding was needed for angle brackets and commas. Registration has changed, and this is no longer needed
2024-11-13 17:52:28 +02:00
Alex Plate
b0951f4a38
Add information about the Vim-Peekaboo plugin
2024-11-08 11:06:32 +02:00
dependabot[bot]
bcf519027e
Bump io.ktor:ktor-client-content-negotiation from 2.3.10 to 3.0.1
...
Bumps [io.ktor:ktor-client-content-negotiation](https://github.com/ktorio/ktor ) from 2.3.10 to 3.0.1.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/2.3.10...3.0.1 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-content-negotiation
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 17:51:11 +02:00
dependabot[bot]
9aece44a00
Bump io.ktor:ktor-client-cio from 3.0.0 to 3.0.1
...
Bumps [io.ktor:ktor-client-cio](https://github.com/ktorio/ktor ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/3.0.0...3.0.1 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-cio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 17:37:07 +02:00
dependabot[bot]
61912e2c9b
Bump io.ktor:ktor-serialization-kotlinx-json from 2.3.12 to 3.0.1
...
Bumps [io.ktor:ktor-serialization-kotlinx-json](https://github.com/ktorio/ktor ) from 2.3.12 to 3.0.1.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.1 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-serialization-kotlinx-json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 17:21:37 +02:00
Matt Ellis
92ee271f1e
Add fallback if ve
guicursor option not specified
2024-11-05 12:29:13 +02:00
Matt Ellis
babc5daf3b
Use Visual-exclusive caret shape from guicursor
2024-11-05 12:29:13 +02:00
Alex Plate
c0a10c65e1
Upgrade TC agents
2024-11-05 11:56:20 +02:00
Alex Plate
5145bb4193
Mute some NeoVim tests
2024-11-05 11:50:44 +02:00
Alex Plate
8825f790d4
Fix the problem with the JSON in tests
...
In 2025.1 the JSON plugin is extracted from the platform. See IJPL-159354
2024-11-05 11:45:32 +02:00
Alex Plate
a0f0f71b6a
Revert "Fix deprecated API usage"
...
This reverts commit b0dd75f77c
.
Because of some reason, this place fails on TC. Let's deal with this later
2024-11-05 05:43:14 +02:00
Alex Plate
6a73f9e65a
Bump TC configurations to use 2024.2.1
2024-11-05 05:09:19 +02:00
Alex Plate
4ee858877d
Revert "Remove pre-242 workaround"
...
This reverts commit 727cfb36ba
.
2024-11-05 04:16:32 +02:00
Matt Ellis
82d18cfbb9
Remove unused imports
2024-11-05 04:14:12 +02:00
Matt Ellis
b0dd75f77c
Fix deprecated API usage
2024-11-05 04:14:12 +02:00
Matt Ellis
727cfb36ba
Remove pre-242 workaround
2024-11-05 04:14:12 +02:00
Matt Ellis
a7d5c5f2d4
Remove custom version for split mode
...
Split mode run task will use the same version as runIde
2024-11-05 04:14:12 +02:00
Matt Ellis
1e02848a66
Update target IDEA version to 242
...
Note that this uses 2024.2.1 as the minimum version because 2024.2.0 is no longer available.
2024-11-05 04:14:12 +02:00
Alex Plate
9d8afc5fcb
TC: Use the idea version from the gradle configuration to run github tests
2024-11-05 03:46:32 +02:00
dependabot[bot]
15b2a17ae6
Bump org.junit.jupiter:junit-jupiter-engine from 5.10.3 to 5.10.5
...
Bumps [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5 ) from 5.10.3 to 5.10.5.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.10.5 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 18:10:50 +02:00
dependabot[bot]
39a2cdcf50
Bump io.ktor:ktor-client-auth from 2.3.12 to 3.0.1
...
Bumps [io.ktor:ktor-client-auth](https://github.com/ktorio/ktor ) from 2.3.12 to 3.0.1.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.1 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-auth
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 18:09:09 +02:00
dependabot[bot]
2fd488531b
Bump org.junit.vintage:junit-vintage-engine from 5.10.3 to 5.10.5
...
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit5 ) from 5.10.3 to 5.10.5.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.10.5 )
---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 17:55:56 +02:00
dependabot[bot]
e69b30796c
Bump org.junit.jupiter:junit-jupiter-api from 5.10.3 to 5.10.5
...
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.10.3 to 5.10.5.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.10.5 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 17:54:34 +02:00
dependabot[bot]
790a0afdf3
Bump io.ktor:ktor-client-core from 2.3.12 to 3.0.1
...
Bumps [io.ktor:ktor-client-core](https://github.com/ktorio/ktor ) from 2.3.12 to 3.0.1.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/2.3.12...3.0.1 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-core
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 17:54:12 +02:00
IdeaVim Bot
66b01b0b0d
Add Greg Shrago to contributors list
2024-10-26 09:02:33 +00:00
Alex Plate
71ea6184a0
Add Greg Shrago to the contributors list
2024-10-25 18:18:12 +03:00
Greg Shrago
0b1c79d961
Disable some IJ additional checks
2024-10-25 18:14:37 +03:00
Alex Plate
6b751fae6e
Disable some IJ additional checks
2024-10-25 17:29:07 +03:00
Alex Plate
152066b73c
Apply TeamCity patches
2024-10-25 17:00:44 +03:00
aleksei.plate@jetbrains.com
dfe645c4eb
TeamCity change in 'Ideavim' project: general settings of 'Tests for IntelliJ 2024.2' build configuration were updated
2024-10-25 13:52:21 +00:00
Alex Plate
5024fd94da
There are fails in the configuration, let's revert part of it
2024-10-25 16:47:57 +03:00
Alex Plate
4d3a231a35
Add java and other tests to artifacts
2024-10-25 16:27:53 +03:00
Alex Plate
e1a803d310
Disable one more test that doesn't work on 242
2024-10-25 15:59:05 +03:00
Alex Plate
96b224c0d8
Fix compilation issues
2024-10-25 14:47:54 +03:00
Alex Plate
8b6de3f5c6
Fix split window tests for 242
...
The window splitting was refactored to initialize the editor async. So, we have to wait till the editor will become available.
This can't be done while holding the EDT, so we start this bunch of tests from the non-EDT thread.
2024-10-25 14:35:55 +03:00
Alex Plate
9014d99cde
Add a note that PluginStartup code should be updated and migrated to a different approach
2024-10-25 14:35:55 +03:00
Alex Plate
8dfd41a891
Refactoring: Move VimDocumentListener from multicaster to plugin.xml registration
...
The problem happens in tests: after the refactorings in 242, the `EditorListenerTracker` may be called before the initialization of the IdeaVim. In this case, it'll report the VimDocumentListener as a leaked listener, however, it's incorrect.
Generally, I think that this situation with the listener tracker is a bug.
There should be no changes in IdeaVim behaviour as the multicaster does the same thing: subscribes every editor on this listener. However, the multicaster does this in the "registerEditor" stage. However, I don't think this is a problem.
2024-10-25 14:35:55 +03:00
Alex Plate
7e62e816a5
Refactoring: Move FocusChangeListener from multicaster to per-editor subscription
...
The problem happens in tests: after the refactorings in 242, the `EditorListenerTracker` may be called before the initialization of the IdeaVim. In this case, it'll report the FocusChangeListener as a leaked listener, however, it's incorrect.
Generally, I think that this situation with the listener tracker is a bug.
There should be no changes in IdeaVim behaviour as the multicaster does the same thing: subscribes every editor on this listener. However, the multicaster does this in the "registerEditor" stage. However, I don't think this is a problem.
2024-10-25 14:35:55 +03:00
dependabot[bot]
9c4965581a
Bump org.junit.jupiter:junit-jupiter from 5.11.0 to 5.11.3
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.11.0 to 5.11.3.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.0...r5.11.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 19:04:24 +03:00
dependabot[bot]
d1abc0c9f9
Bump io.ktor:ktor-client-cio from 2.3.10 to 3.0.0
...
Bumps [io.ktor:ktor-client-cio](https://github.com/ktorio/ktor ) from 2.3.10 to 3.0.0.
- [Release notes](https://github.com/ktorio/ktor/releases )
- [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ktorio/ktor/compare/2.3.10...3.0.0 )
---
updated-dependencies:
- dependency-name: io.ktor:ktor-client-cio
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 18:51:08 +03:00
dependabot[bot]
43555ad581
Bump org.jetbrains:annotations from 24.1.0 to 26.0.1
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 24.1.0 to 26.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/24.1.0...26.0.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 18:50:30 +03:00
dependabot[bot]
640e5ac552
Bump org.jetbrains.intellij.platform from 2.0.0-rc2 to 2.1.0
...
Bumps org.jetbrains.intellij.platform from 2.0.0-rc2 to 2.1.0.
---
updated-dependencies:
- dependency-name: org.jetbrains.intellij.platform
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 18:49:52 +03:00