Questions tagged [ideavim]

IdeaVim is a Vim emulation plug-in for IDEs based on the IntelliJ IDEA platform.

245 questions
4
votes
1 answer

How to stop an execution of a VIM macro in Idea Vim

I have the following problem: while experimenting with vim macros in Pycharm (I'm using Idea Vim plugin) - I typed a simple macro and make an editor to run it 100 times. The execution is extremely slow and I couldn't stop it using any of these…
Marcin Możejko
  • 39,542
  • 10
  • 109
  • 120
4
votes
3 answers

How can I enable IdeaVim on only the main editor window?

IdeaVim current replaces essentially all multi-line text inputs. For example, Git commit messages and the Clojure REPL both accept Vim commands. However, in those situations, I'd prefer to have a simple text input, without Vim's features. Is there…
ddulaney
  • 843
  • 7
  • 19
4
votes
2 answers

PhpStorm - Go to end of line shortcut (IdeaVim)

IdeaVim has this bug, where you can't go the the line's end by typing a dollar sign ($). You can see it demonstrated here, what happens when I try: And here (this gif is too big, so I had to link it). Since I'm using IdeaVim, my fingers are far…
Zeth
  • 2,273
  • 4
  • 43
  • 91
4
votes
2 answers

How to open class file in IdeaVim through shortcut?

I'm using IntelliJ IDEA with IdeaVim. Usually I can open any class file by shortcut Ctrl+N without IdeaVim, which is really handy. However when I switched to IdeaVim, The shortcut doesn't work both in Normal Mode and Insert Mode. Neither can I find…
kenshinji
  • 2,021
  • 4
  • 25
  • 39
4
votes
2 answers

Intellij Idea selection to ideavim selection

For example, if I select text with my mouse and then press "y" ideavim successfully copy it to its buffer. But if I make selection with intellij "extend selection" command (map w :action EditorSelectWord) I cannot do anything with this…
melihovv
  • 1,055
  • 1
  • 10
  • 15
4
votes
3 answers

How to use % to match tag in html with ideaVim

Vim plugins do not work with ideaVim. Is there a way to get match tags like "matchit" in ideaVim.
abdulla syed
  • 161
  • 2
  • 6
4
votes
1 answer

Does Intellij Ideavim plugin support complex function definition?

Does it support following code? More precisely, does it support defining function? invoking function system? and so on. Following code is used to auto close my Chinese input method when quit from insert normal. let g:input_toggle = 1 function!…
Run
  • 876
  • 6
  • 21
4
votes
1 answer

IdeaVim create custom command

Is there any way of creating custom commands with IdeaVim (like :command in vim)? Trying to run :command ... ... spits out Not an editor command: command.
EvenLisle
  • 4,672
  • 3
  • 24
  • 47
4
votes
2 answers

IdeaVIM Keybindings not working in intellij

I just upgraded IdeaVIM to use the newly added support for window management. The problem I'm having is that the keybindings aren't working at all. I've tried editing the keymap manually, adding back the default bindings, but they're not in…
expez
  • 399
  • 3
  • 15
4
votes
2 answers

Does .ideavimrc work on windows 7?

Usually I use vim, but now I want move to webstorm. I have found ideavim for webstorm, but config file (~/.ideavimrc) doesn't work. I have tried _ideavimrc also. I use windows 7 and I think here is the problem. Inside .ideavimrc only one line - set…
Alex
  • 49
  • 1
  • 4
3
votes
1 answer

Display search count in IdeaVim

Below is the UI of Rider search with Cmd + F. But I'm using the IdeaVim plugin, I want a similar UI to count the current match when I perform a search with / or ? but can't find the config to display it.
Finn
  • 2,707
  • 2
  • 19
  • 28
3
votes
2 answers

Mapping to comment out multiple lines with a motion in IdeaVim?

I'm trying to recreate some of https://github.com/tpope/vim-commentary function's in IdeaVim. I've tried various mappings in my .ideavimrc, like for example: nnoremap gcc :action CommentByLineComment Which works fine but I cannot do 2gcc to…
ruohola
  • 21,987
  • 6
  • 62
  • 97
3
votes
1 answer

IntelliJ IdeaVIM autocomplete interferes with jj ESC

I have my vim configured with inoremap jj This has worked fine until recently (last month or so), where suddenly whenever PhpStorm autocompletes something (a variable for example) that contains a j, another j will added to the end of the…
Neobyte
  • 386
  • 3
  • 10
3
votes
1 answer

Cannot paste into Intellij Idea from Vim

After yanking a text from Vim I cannot paste the clipboard content into Idea's editor window. I can, however, paste it in every other window (browser, terminal etc.). The text becomes "pastable" (strangely) after I run command in a terminal: xclip…
Mikel
  • 466
  • 3
  • 16
3
votes
2 answers

Vim duplicate line multiple times with 2 keypresses

I use this key mapping to duplicate a line, and go to the same cursor position on this newly created line: nnoremap , mqYp`qj What this does: Create mark 'q' Yank line Paste/put line (below current line, cursor is now at start of new line) Go…
Edwin
  • 43
  • 5