Commit Graph
10449 Commits
Author SHA1 Message Date
Matt Ellis cbea98b0b8 Count wrapped lines 2026-06-12 06:24:51 +00:00
Matt Ellis fbe9f0884d Update prompt when scrolling with mouse 2026-06-12 06:24:51 +00:00
Matt Ellis 742f25bd1c Animate scrolling in output panel 2026-06-12 06:24:51 +00:00
Matt Ellis d6d5fdefd4 Skip IDE shortcut handling when panel is active
Important or the IDE will try to dispatch shortcuts such as `<BS>` while the panel is active
2026-06-12 06:24:51 +00:00
Matt Ellis 856ad4ff86 Update more prompt to match Vim text and behaviour 2026-06-12 06:24:51 +00:00
Matt Ellis 40064654e5 Remove unsupported left+right motions in pager
These don't appear to be Vim shortcuts at all
2026-06-12 06:24:51 +00:00
Matt Ellis efeb6ec0f2 Do not reuse escape key when closing output panel
Unable to test, unfortunately
2026-06-12 06:24:51 +00:00
Matt Ellis 3c998a8da3 Do not reuse space key when closing output panel 2026-06-12 06:24:51 +00:00
Matt Ellis 7e3c745d38 Add helper functions for scrolling up 2026-06-12 06:24:51 +00:00
Matt Ellis 88efb6d4db Simplify key handling
Also fixes incorrect behaviour passing 'q' to editor when at hit-enter prompt, and processing Enter twice, scrolling two lines instead of one (this isn't possible to test, sadly, it depends on Swing key event handling)
2026-06-12 06:24:51 +00:00
Matt Ellis ce9d3bce94 Fix 'nomore' scroll implementation 2026-06-12 06:24:51 +00:00
Matt Ellis 73fbc7681c Clear single-line message after timeout
Introduces the `'messagesopt'` option, plus handling of options that are key/value pairs + flags
2026-06-12 06:24:51 +00:00
Matt Ellis 5638e7296c Remove unncessary parseKeys calls 2026-06-12 06:24:51 +00:00
Matt Ellis c41f82cb7c Clear single line message when mode changes 2026-06-12 06:24:51 +00:00
Matt Ellis 00900dd03f Clear single line message with Escape 2026-06-12 06:24:51 +00:00
Matt Ellis dbc81e734b Prevent clearing message at same time as it's set 2026-06-12 06:24:51 +00:00
Matt Ellis da6befdb60 Include output panel when checking scroll height 2026-06-12 06:24:51 +00:00
Matt Ellis 51514c111a Hide output panel when redrawing status line
We "redraw" the status line at various times (explicit `<C-L>` redraw, scrolling, etc.). Previously, this would clear the status bar, but now that some messages and output use a persistent single line output panel, we make sure to close the output panel too

Fixes VIM-4230
2026-06-12 06:24:51 +00:00
Matt Ellis 5fefedd5ed Add tests for output panel
Changes to UnknownCommand are due to a test for output panel with an unknown command that was returning a string with a trailing space.
2026-06-12 06:24:51 +00:00
Matt Ellis c678146025 Get editor's scroll pane using API if possible 2026-06-12 06:24:51 +00:00
Matt Ellis 77ef75e8f2 Use proper top and bottom border insets
Means baseline of output panel matches ex entry panel. Also fixes offset when scrolling down a page meaning new top line is correctly positioned
2026-06-12 06:24:51 +00:00
Matt Ellis 816e0af60c Move key handling logic to inner class 2026-06-12 06:24:51 +00:00
Matt Ellis ff517e1fe8 Small refactorings and cleanup 2026-06-12 06:24:51 +00:00
Matt Ellis 1e7c8c50cf Use proper helper function to assert ex output 2026-06-12 06:24:51 +00:00
Matt Ellis cdb9d595bc Remove unnecessary APIs from thin API
There is no reason for a caller (presumably an extension) to need to know what the text of the output panel is, or to get/set the prompt text
2026-06-12 06:24:51 +00:00
Matt Ellis a579c87bfa Remove unnecessary APIs from interface 2026-06-12 06:24:51 +00:00
Matt Ellis 9a94e2b33c Use simpler API to show output panel 2026-06-12 06:24:51 +00:00
Matt Ellis 7c365b8fcb Use project JDK 2026-06-12 06:24:51 +00:00
claude[bot]andClaude Opus 4.8 0a05563bf3 Update changelog: Add control chars editor, abolish/maps/cursor fixes
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 06:22:34 +00:00
1grzyb1 269fb99983 Change way of authorization to claude in unpdate changelog action 2026-06-11 09:34:58 +00:00
1grzyb1 781f8101f8 VIM-4250 preserve cursor pistion with one column diff
when going jk between lines with just 1 column difference and going back it moved one column before.
It was due to not normilzed offset so when doing k went to AbsoulteOffset and didn't save last column position
2026-06-11 08:50:42 +00:00
dependabot[bot] c1b4782c93 Bump com.squareup.okhttp3:okhttp from 5.3.0 to 5.4.0
Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 5.3.0 to 5.4.0.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-5.3.0...parent-5.4.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 15:39:21 +00:00
Matt Ellis a222cf0464 Fix output of maps when prefix match fails 2026-06-10 10:21:52 +00:00
1grzyb1andClaude Opus 4.8 8c489b4c49 Correct 2.37.0 changelog to match published build
The 2.37.0 marketplace artifact was built from 643b76e06 (Jun 02), but
the changelog promotion swept in 3 features and 4 fixes that landed on
master afterward and are not in the published binary. Move them back to
[To Be Released] so they ship in the next release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 09:58:20 +00:00
IdeaVim Bot a8d9ef226b Preparation to 2.37.0 release 2026-06-10 09:31:17 +00:00
1grzyb1andClaude Opus 4.8 1ec4241372 Read ~/.debug.ideavimrc when running the dev IDE
Add an `ideavim.use.debug.ideavimrc` flag (VimRcService.USE_DEBUG_VIMRC_PROPERTY):
when set to "true", IdeaVim prefers ~/.debug.ideavimrc over ~/.ideavimrc,
falling back to the regular file if the debug one is absent. The runIde
Gradle task sets the flag so development runs can use a separate config
without touching the real ~/.ideavimrc.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 08:53:21 +00:00
1grzyb1andClaude Opus 4.8 ace6cb3a1f VIM-4249 Remove visual mapping for abolish plugin
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 08:53:21 +00:00
1grzyb1 2961707664 VIM-1025 Syntax highlighting in control chars editor 2026-06-10 08:13:15 +00:00
1grzyb1 1370b8820d VIM-1025 Notify about control chars editor 2026-06-10 08:13:15 +00:00
1grzyb1 c74e767159 VIM-1025 Add control chars editor
It adds new action that opens special kind of editor where user can paste and yank control cahrachters like ^M ^[.
Normally IDE doesn't allow showing them especially ^M is always turned into \n s othere was no way of editing macros.
2026-06-10 08:13:15 +00:00
claude[bot]andClaude Sonnet 4.6 6c6ac9518e Update changelog: Add abbreviations, CamelCaseMotion, window resize, YouCompleteMe
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 06:49:35 +00:00
1grzyb1 990d75af55 VIM-1617 YouCompleteMe plugin support
Add plugin that allows to cycle through completion using tab instead of arrow keys
2026-06-09 09:02:59 +00:00
1grzyb1 e1a19a869f VIM-2431 use count to repeat mapped action 2026-06-08 08:31:50 +00:00
1grzyb1 f1d8813628 VIM-3301 adjust cursor offset by sticky panel height
Adjust in cursor scroll calculation for sticky panel height so it doesn't hide under sticky panel when scrolloff=0
2026-06-08 07:39:20 +00:00
1grzyb1 b20a38f19a VIM-2501 Apply inlayAwareMinHeightFudge to all centering decisions
Guard height-based centering checks when block inlays make the visible line count unreliable.
2026-06-05 10:10:55 +00:00
1grzyb1 f2916c5564 VIM-2501 Refactor scrollCaretIntoViewVertically for readability
Extract nested if blocks into named methods with early returns, without changing scroll behavior.
2026-06-05 10:10:55 +00:00
1grzyb1 915df3498d VIM-2529 Don' scroll after incremental search finish
Scroll during enter on inc search was triggered twice. One from search itself and once from exiting ex panel. Disable scroll in exit seach panel when it's executign incsearch
2026-06-05 08:23:04 +00:00
1grzyb1 13cd78e9b4 VIM-1638 equalize windows proportions 2026-06-03 09:34:36 +00:00
1grzyb1 84ce9f7879 VIM-1638 Resize windows width 2026-06-03 09:34:36 +00:00
1grzyb1 3768d3af09 VIM-1638 Resize windows height 2026-06-03 09:34:36 +00:00