Commit Graph
2227 Commits
Author SHA1 Message Date
dependabot[bot] 004602e59b Bump org.junit.vintage:junit-vintage-engine from 6.0.3 to 6.1.0
Bumps [org.junit.vintage:junit-vintage-engine](https://github.com/junit-team/junit-framework) from 6.0.3 to 6.1.0.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r6.0.3...r6.1.0)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-20 20:50:20 +00:00
claude[bot]andClaude Sonnet 4.6 6178f423d4 Fix code style issues in mapping/digraph function handlers
- Remove double space in DigraphGetFunctionHandler
- Add missing space before != in MapFunctionHandlerBase
- Add missing space before colon in MapCheckFunctionHandler class declaration
- Move else keyword to same line as closing brace in MapSetFunctionHandler
- Remove unnecessary blank line after function opening brace in MapSetFunctionHandler

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 07:24:19 +03:00
Matt Ellis 550652e9af Restore compatibility for external plugins 2026-05-20 07:23:37 +03:00
1grzyb1 be91bf2504 VIM-833 implement command history actions
Add `q:` `q/` and `q/`
2026-05-19 10:05:00 +00:00
Matt Ellis 02c522b352 Fix histget() with omitted index 2026-05-19 12:51:26 +03:00
Matt Ellis 2dd76658c1 Extract tracking current history from command line 2026-05-19 12:51:26 +03:00
Matt Ellis c81850982f Do not save empty command line as history 2026-05-19 12:51:26 +03:00
Matt Ellis 288e885dd9 Encapsulate HistoryBlock and make internal 2026-05-19 12:51:26 +03:00
Matt Ellis d5e917c5c6 Add histdel() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 86aa74550a Add histnr() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 97da421eec Add histget() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 03a44d9855 Add histadd() history function 2026-05-19 12:51:26 +03:00
AndDe-gourav 872ded4bb5 change isChange to true 2026-05-18 11:49:13 +03:00
Matt Ellis ceabada9b1 Add digraph_setlist() function 2026-05-18 11:42:47 +03:00
Matt Ellis bd87ba8d77 Add digraph_set() function 2026-05-18 11:42:47 +03:00
Matt Ellis 9acc676c5c Add digraph_getlist() function 2026-05-18 11:42:47 +03:00
Matt Ellis 7fda1f1772 Add digraph_get() function 2026-05-18 11:42:47 +03:00
Matt Ellis 75fe116e3e Add mapset() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis 6039227534 Add hasmapto() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis 80d924e718 Update doc comments
Also makes an interface function into a protected base class function
2026-05-15 17:25:58 +03:00
Matt Ellis bce624cb73 Add maplist() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis a9f6a4d608 Move showKeyMapping to map command implementation 2026-05-15 17:25:58 +03:00
Matt Ellis d8b6d0a104 Push function to get all mappings to vim-engine 2026-05-15 17:25:58 +03:00
Matt Ellis f06dd610f4 Introduce getMappingInfo helper function 2026-05-15 17:25:58 +03:00
Matt Ellis 489c2c1fc9 Remove unnecessary MappingInfoLayer 2026-05-15 17:25:58 +03:00
Matt Ellis da9274fcf3 Remove unnecessary KeyMappingLayer abstraction
While it does give us a read-only abstraction over KeyMapping, it means we have two methods that do the same thing - getKeyMapping and getKeyMappingLayer without a clear indication of what the difference is. Furthermore, external usages only use getKeyMapping, and the layer isn't used at all.
2026-05-15 17:25:58 +03:00
Matt Ellis 782a163dde Simplify use of keys helper function 2026-05-15 17:25:58 +03:00
Matt Ellis c608161b0d Add mapcheck() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis 3f9f6adbaa Fix bug fetching maps by prefix
If there were no matching prefixes, it would return all nodes. And if the prefix was an actual match, it would return it twice
2026-05-15 17:25:58 +03:00
Matt Ellis d358c80453 Remove some non-Vim mapping modes 2026-05-15 17:25:58 +03:00
Matt Ellis 64d26a348f Remove unnecessary JvmField annotations 2026-05-15 17:25:58 +03:00
Matt Ellis 00f1021f25 Add maparg() mapping function 2026-05-15 17:25:58 +03:00
grzybek db55089f95 Fix(VIM-4231): pasting from clipboard in visual selection 2026-05-15 09:06:32 +00:00
claude[bot]andClaude Sonnet 4.6 255689cd69 Maintenance: Remove dead catch block in GlobalCommand, fix typo in SortCommandTest
GlobalCommand.globalExe had a try/catch/finally where the catch block only
re-threw the exception, which is unnecessary - finally executes regardless of
whether a catch is present. Remove the dead catch block.

Also fix a typo in SortCommandTest: "insensive" -> "insensitive".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 11:46:33 +03:00
Matt Ellis 69344812c6 Introduce function to check for mappings 2026-05-15 08:31:53 +00:00
grzybek fafbb78a0f Fix(VIM-4184): mirror PRIMARY on Wayland via xclip/wl-copy
JBR's WLClipboard takes Wayland-side primary ownership and Mutter's
Wayland→X11 bridge is racy under rapid visual selection, so external
readers (xclip, middle-click-paste) see stale content. Route PRIMARY
writes through xclip (preferred) or wl-copy (fallback) on Wayland,
deferred past IntelliJ's CaretModelImpl.updateSystemSelection
post-yank clobber. AWT path unchanged on X11/macOS/Windows.
2026-05-14 08:15:49 +00:00
1grzyb1 ba4b51e33e VIM-4229 Remove trailing spaces in edit command 2026-05-14 08:12:11 +00:00
1grzyb1 196cbdb6c6 VIM-4223 proper hide command abbreviation
with `hi[de]` users that had hi in their ideavimrc expected it to change highlight, but it was closing editor instead
2026-05-14 06:55:05 +00:00
1grzyb1 0cfe720fca VIM-4223 proper hide command abbreviation
with `hi[de]` users that had hi in their ideavimrc expected it to change highlight, but it was closing editor instead
2026-05-14 06:55:05 +00:00
1grzyb1 5d6622b77e Use only jbr cache repository 2026-05-13 09:48:47 +00:00
1grzyb1 2b4a4eeff4 Add jbr cache repo per module 2026-05-13 08:45:11 +00:00
1grzyb1 4225b32f55 Update java to version 25 2026-05-12 11:34:21 +00:00
claude[bot]andClaude Sonnet 4.6 4f95756351 refactor(PlaybackRegisterAction): replace arrayOf workaround with idiomatic Kotlin
The `arrayOf(false)` pattern was a Java-style workaround for capturing a
mutable variable, unnecessary here since there are no lambdas involved.
Replace with a `var`, use `when` as an expression with a direct `return`,
and swap the manual while-loop counter for a `for` range.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 12:10:30 +03:00
Alex Plate c17bb06f8a Remove trailing whitespace in Graphemes.kt 2026-05-08 11:41:57 +03:00
1grzyb1 5bb18a2cb7 feat(VIM-519): cycle through recent edits with g; and g,
Implements g; and g, to walk through the per-buffer change list, mirroring Neovim's b_changelist semantics. The list is fed by the backend's RecentPlacesListener over an RPC topic (the same pattern as the existing jump service), so it works in both monolith and split mode.
2026-05-06 08:37:14 +02:00
1grzyb1 7d6315af2d feat(VIM-258): tab command completion
Add command completion on tab press in ex panel. Now we support both file name completions and command completions
2026-05-05 10:24:14 +02:00
1grzyb1 e8c12a5526 fix(VIM-4224): respect e flag in search patterns 2026-05-04 12:33:56 +02:00
1grzyb1 4fc912eee7 feat(VIM-3975): support vim mode() function 2026-05-04 12:18:02 +02:00
1grzyb1 093244c07d FIX(VIM-4221) Don't make angry sounds on search
When incsearch was true, we made the error sound on ech keypress if regex was invalid
2026-04-29 09:15:43 +02:00
Alex Plate 705ce474f1 Fix(VIM-2974): Delete VimEnterHandler.kt
Step 4/N of removing the octopus handler. Deletes the file that held
all octopus infrastructure (both abstract base and the concrete
handlers). Its XML registrations were removed in step 3, so the classes
had been unreachable code.

- Delete VimEnterHandler.kt entirely: OctopusHandler, VimKeyHandler,
  VimEnterHandler, VimEscHandler, VimEscForRiderHandler,
  VimEscLoggerHandler, VimEnterLoggerHandler, CaretShapeEnterEditorHandler,
  StartNewLineDetector, StartNewLineBeforeCurrentDetector,
  isOctopusEnabled(KeyStroke, Editor), enableOctopus, commandContinuation.
- ChangeGroup.processEnter(editor, caret, context): delete. It existed
  only to continue execution into the next octopus EditorActionHandler
  via commandContinuation when inside the octopus chain. With octopus
  gone, InsertEnterAction and SelectEnterAction call the editor-level
  processEnter(editor, context) which dispatches through the IJ action
  system as usual.
- VimChangeGroup: drop the per-caret processEnter declaration.
- InsertEnterActionTest: drop the @BeforeEach that set up three octopus
  handler variants via ExtensionTestUtil.maskExtensions (existed to test
  around IDEA-300030). Convert @RepeatedTest(3) to @Test - there are no
  longer three configurations to exercise.
2026-04-24 17:41:48 +03:00