Commit Graph
195 Commits
Author SHA1 Message Date
1grzyb1 2744cad962 VIM-2593 Navigate out of the terminal with <C-W>
With "Override IDE shortcuts" on, the terminal sends every key to the
shell from its own IdeEventQueue dispatcher, unless the key is the keymap
shortcut of an action on its allowlist. The <C-W> shortcuts of
ToolWindowNavDispatcher are registered on the component, not in the
keymap, so in the terminal <C-W> deleted a word in the shell and the
direction key was typed there too.

A queue dispatcher of our own now runs before the terminal's one and,
while the focus is in the Terminal tool window, gives the keys of a <C-W>
sequence to ToolWindowNavDispatcher directly. Going through the action
system doesn't work there: for the keys on the terminal's allowlist, such
as the arrows or Enter, the terminal's own action wins, and plain letters
aren't shortcuts in an editable editor. The terminal adds its dispatcher
whenever it gets the focus, so ours is added when VimEverywhere starts.

The test runs the terminal's real key dispatcher, so it fails if the
terminal starts to take the keys before the dispatchers added earlier.
2026-11-19 12:18:54 +01:00
1grzyb1 47094464e2 VIM-2726 Educate quotes in textobj-quote
Adds the educate feature of vim-textobj-quote: after :Educate, " and '
typed in Insert mode become typographic quotes, an opening one at the
start of a line, after a space or after one of [({& and a closing one
elsewhere, so don't is typed as don’t. :NoEducate and :ToggleEducate
turn it off or switch it.

The state is kept per buffer in b:textobj_quote_educate_mapped, and
g:textobj#quote#educate turns it on for all buffers. It is off by
default, unlike in Vim where it only applies to the buffers the plugin
is initialized in, because here it would replace the quotes typed in
code too. When it is off, the quotes are typed as usual, so the IDE
still inserts the closing pair.
2026-11-19 10:39:45 +01:00
1grzyb1 915c322bb4 VIM-2726 Add textobj-quote extension
Port of preservim/vim-textobj-quote, requested in VIM-2726. Adds the iq/aq
text objects for text inside typographic double quotes and iQ/aQ for
single ones, so prose with curly quotes can be changed, deleted or
selected the same way as text in straight quotes.

A closing ’ followed by a letter or a digit is taken for an apostrophe,
nested quotes of the same kind are skipped, and the keys and the quote
characters can be changed with the g:textobj#quote#doubleMotion,
g:textobj#quote#singleMotion, g:textobj#quote#doubleDefault and
g:textobj#quote#singleDefault variables. Educating quotes while typing
is left for a separate change.
2026-11-19 10:39:45 +01:00
1grzyb1 9cf19ae343 VIM-2363 Add lion extension
Port of tommcdo/vim-lion, requested in VIM-2363. Adds the gl and gL
operators that align the text covered by a motion or a Visual selection
to a character, so lists of assignments, maps or tables don't have to be
aligned by hand.

Supports a count, a number before the character to start at a later
occurrence, <Space> to align words, / to align to a pattern, the
g:lion_create_maps, g:lion_map_right, g:lion_map_left, g:lion_prompt and
b:/g:lion_squeeze_spaces variables, characterwise and blockwise
selections limited to their columns, and dot-repeat.
2026-11-18 08:45:04 +01:00
1grzyb1andClaude Opus 5.5 0ee22d0efe VIM-4276 Document VimEverywhere shortcuts and tool window navigation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:19:40 +01:00
1grzyb1 238a696594 VIM-2342 Document fugitive extension and quickfix commands 2026-10-26 09:41:18 +01:00
1grzyb1 9e142d4401 VIM-1975 implement clever-f extension 2026-10-12 12:06:01 +02:00
1grzyb1 ca384caae4 VIM-2293 Add visual-multi documentation 2026-10-08 11:25:42 +02:00
1grzyb1 37aeff64aa VIM-2372 Add missing mappings for navigation keys
Allow users to map missing nerdtree keys like j or k
2026-10-07 09:13:53 +02:00
1grzyb1 e0193e6f3b VIM-1948 Scroll caret while mouse scrolling
Move caret while mouse scrolling respecting scrolloff
guarded by ideascrollcursor to preserve old idea behaviour
2026-10-06 12:11:06 +02:00
1grzyb1 f6ee0c0f11 VIM-720 allow pass escape to IDE 2026-10-06 11:46:19 +02:00
1grzyb1 2282456ddd VIM-720 allow pass enter and arrows to IDE 2026-10-06 11:46:19 +02:00
1grzyb1 8ad1ab8bdf VIM-4335 document ideaoutsideeditor option 2026-10-02 10:22:27 +02:00
Grzybek b00370888a VIM-1306 Add keylog extension (#2096)
Extension that logs all typed keys
2026-10-01 10:56:08 +02:00
Grzybek 7bd8f1315c VIM-3963 Allow enabling vim for plugin editors and ai chat windows (#2091)
* VIM-3963 enable vim for main editors

* VIM-3963 enable vim for jetbrains AI chat
2026-09-30 12:28:19 +02:00
Grzybek 60d17b0c83 VIM-4331 keep the indent of a new line when leaving Insert mode (#2084)
`didAutoIndent` was set for `o`, `O` and Enter as well as for `cc` and `S`,
so leaving Insert mode without typing anything deleted the indent of a line
that had just been opened.

Vim does delete it, and it does so for an indent computed by 'indentexpr' or
'cindent' too (`fixthisline()` in indent.c). This is a deliberate difference:
in the IDE the indent comes from language support, and a line you have just
opened is expected to stay where it is. `cc` and `S` still follow Vim, since
there the line held text a moment ago and its leftover indent is noise.
2026-09-25 10:40:17 +02:00
1grzyb1 c24adece73 VIM-3796 support match_words in matchit
it allows to define custom matching words in matchit.
Also refactor plugin to use vim regex instead of java to make it more vim like behaviour
2026-09-23 12:34:12 +02:00
1grzyb1 d682906047 VIM-3198 add fast scroll in nerdtree
add mapping for <c-d> and <c-u> in nerdtree for fast scroll
2026-09-22 10:31:04 +02:00
1grzyb1 bf210ba468 VIM-3999 list option to enable vim in other editors
As we now have more editors that we are not always want to enable vim in it make more sense to have list option to enable/disable them there
2026-09-14 11:51:57 +02:00
1grzyb1 0ae4b2698a VIM-2629 commentary block comments variable
Allow to disbale char-ise block comments.
Original plugin doesn't support comment part of line.
Here we add `commentary_block_comments` variable to allow to disable it
2026-09-14 08:57:22 +02:00
1grzyb1 9c052110f6 VIM-2478 add autoindent option 2026-09-09 18:41:37 +02:00
1grzyb1 3b6fbba56c VIM-2089 add docs for visual star search plugin 2026-09-08 12:26:39 +02:00
1grzyb1 baef79a4b7 VIM-1974 implement textobj-line extension 2026-09-04 12:57:09 +02:00
1grzyb1 fafc5d25a4 Add idea prefix to custom options
To not confuse our internal options with vim ones we've added idea prefix to all of them
Old names will still work as deprecated names
2026-09-03 09:03:23 +02:00
1grzyb1 94c57f23cf VIM-4314 perse % arguments in completion 2026-09-01 09:47:27 +02:00
1grzyb1 fc8e876ab3 VIM-1347 Document the signature extension 2026-08-25 11:36:19 +02:00
1grzyb1 925500ef92 VIM-4312 Option to disbale vim in python console
We've added support for vim in python console but not all users want it so I've added option to disable/enable this feature
2026-08-24 09:35:24 +02:00
1grzyb1 66e967235d VIM-2168 document window jumps option 2026-08-19 13:30:24 +02:00
1grzyb1 5bd9613d03 VIM-301 Document yank ring extension 2026-08-06 08:36:23 +02:00
1grzyb1 044c155e3c VIM-4304 command mode sethandler 2026-08-03 13:57:59 +02:00
1grzyb1 f0015187a5 VIM-3001 document textobj user plugin 2026-07-09 12:46:15 +02:00
1grzyb1 d2f41d165d VIM-2178 Use original mapping in multi-cursor extension
We had discreppancy between ideavim implementation of multi-cursor plugin and original one as we defined different mappings.
Here we restore original mapping and add flag to switch to old IdeaVim alt-based mappings
2026-07-07 10:26:20 +02:00
1grzyb1 dd5bd38f5c VIM-4267 rename vim-indentwise to indentwise plugin
We have convention of naming plugin without `vim-` prefix
2026-06-30 11:29:34 +02:00
1grzyb1 143a27ec24 VIM-2116 Add intentwise docs 2026-06-26 11:01:48 +02:00
Matt Ellis fea7c44339 Update documentation for 'langmap' related options 2026-06-24 08:40:52 +02:00
1grzyb1andClaude Opus 4.8 11d31c04fa VIM-1960 targets.vim: document the extension in IdeaVim Plugins.md
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 11:32:00 +02:00
Matt Ellis 90b8e005ae Support 'cmdheight' option for "single-line" output 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
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 643b76e069 VIM-1984 Implement CamelCaseMotion plugin 2026-06-02 09:48:32 +00:00
1grzyb1 4cf7d6d4dc VIM-1362 Add abolish search 2026-05-20 10:40:45 +00:00
1grzyb1 a7dcf36522 VIM-1362 Add user-defined coercion through g:abolish_coercions variable 2026-05-20 10:40:45 +00:00
1grzyb1 3aedcceb13 VIM-1362 Add count to recase action 2026-05-20 10:40:45 +00:00
1grzyb1 c7c82fa580 VIM-1362 Implement vim abolish plugin 2026-05-20 10:40:45 +00:00
1grzyb1 2917f0d15e VIM-380 add support for a method and a class vim object 2026-05-15 06:21:41 +00:00
1grzyb1andClaude Opus 4.7 a41f197bc5 VIM-3948: document VimEverywhere plugin
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 13:15:05 +02:00
1grzyb1 9decc7095b VIM-1693 Document autocmd 2026-04-20 13:40:32 +02:00
Alex PlateandClaude Opus 4.6 608e41bfaa Move Plugin API docs under api/ subfolder
Part of the VimApi freeze decision (VIM-4161).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 18:31:54 +02:00
Alex PlateandClaude Opus 4.6 6889ba37c5 T006: Add VimInitApi delegation wrapper for init-time type safety
Introduce VimInitApi as a restricted wrapper around VimApi that exposes
only init-safe methods (getVariable, mappings, textObjects,
exportOperatorFunction). During plugin init() there is no editor context,
so editor operations should not be callable. VimInitApi enforces this at
the type level via delegation rather than inheritance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 18:31:50 +02:00
1grzyb1 f1355c3305 VIM-3948 Enable vimhints through 'Plug'
As vimhints are not part of neovim, it makes more sense to keep it as a plugin, not as an option
2026-02-10 12:02:34 +01:00