~ $ ideavim
Here's what landed in 2.49.0.
command line · cmdline-window
Press <C-F> while typing an Ex command or a / or ? search to open the command-line window. What you've typed so far becomes its last line, so a long command or pattern can be fixed up with ordinary Normal mode motions. Press <CR> on any line to run it.
:%s/someLongIdentifier/other<C-F> " open the command-line window bcwnewName<Esc> " edit it like any other text <CR> " run the line under the caret
new plugin · git
:Ggrep and the quickfix listThe bundled fugitive extension emulates the :Ggrep command of vim-fugitive.
It runs git grep, so only the files tracked by Git are searched, and jumps to the first match.
Every match goes to the quickfix list, which you can walk through or show in its own window.
Plug 'tpope/vim-fugitive' :Ggrep foo " search tracked files, jump to the first match :Ggrep! foo " collect the matches without jumping :cnext / :cprevious " walk through the matches :cnfile / :cpfile " ... or file by file :copen " show them all, <CR> jumps to one
:cfirst, :clast and :cclose work too.
ex commands · actions
:actionlist:actionlist now opens in a read-only buffer, like :help and the quickfix list,
instead of a pager. Search it with /, move around with your usual motions, and press
<CR> on a line to run that action in the editor you opened the list from.
:actionlist Goto " list the actions whose ID matches /Declaration<CR> " search the list <CR> " run the action on the current line
clipboard · x11
The 'clipboard' option now supports the autoselect flag. It is on by default,
so Visual and mouse selections are copied to the X11 PRIMARY selection (the * register).
Turn it off if you'd rather keep PRIMARY to yourself.
set clipboard-=autoselect " don't copy selections to PRIMARY
also worth a look
Ctrl+Click, Go to Type Declaration, Go to Implementation and mappings such as
nmap gi <Action>(GotoImplementation) now push onto the tag stack, so
CTRL-T brings you back.
Jumps made in a diff tab now bring back the diff, on the same side, instead of the plain file, even after Go to Declaration.
:normal:normal yss" works, :1,3normal yss<b> wraps each line, and
S in Visual block mode surrounds every line of the block.
Scrolling now handles soft wraps, block inlays and notebook outputs properly, and CTRL-E/CTRL-Y step through tall inlays one row at a time.
polish & fixes
sethandler <Esc> i:ide only closes the
popup, as configured.
+ register no
longer pastes nothing the first time.
"+y — on systems without PRIMARY it is pasted blockwise again.
ideaput keeps your clipboard — in remote development, p no
longer replaces what another application copied.
'scrolloff' — moving left and right no longer makes the
editor scroll back and forth.
cc and S in C# — Rider now indents the emptied line.
<CR> break the line in the prompt.
<C-V><CR> in Insert mode no longer
raises an error.
'incsearch' no longer moves the caret
while you type a surround tag name or a <C-R>= expression.