Questions tagged [ideavim]

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

245 questions
0
votes
1 answer

Detached window navigation in IdeaVIM

In a two-monitor setup, it is convenient to detach an editor tab and place it on a secondary monitor. Using IdeaVIM, I can navigate between the editor splits using vi-standard ctrl+w w shortcut. Why the same shortcut doesn't allow me to cycle…
Hope
  • 1,051
  • 13
  • 17
0
votes
1 answer

cscope/ctags navigation in Intellij Idea vim plugin

I am used to navigating code in vim using cscope/ctags style Ctrl + [ for function definition and Ctrl + t to go back. With Intellij Idea's vim plugin enabled, I am still able to do that. However, other cscope commands like Ctrl + \ s don't seem to…
hisundar
  • 5
  • 1
  • 6
0
votes
0 answers

Android Studio: disabled Active Editor settings keep resetting (using ideavim also)

So in Android Studio, I want to have as much space as possible available for editing code. I don't need breadcrumbs, don't need line numbers, don't need gutter icons. It's all so much fluff to me and I want the pixels back. I disable the options in…
ether_joe
  • 1,068
  • 1
  • 13
  • 32
0
votes
1 answer

Is there a way to see vim messages in ideavim? (/show VIM Tool Window)

I am using specifically PyCharm, and couldn't find such an option. The closest mention I have found(in ideavim CHANGES): 0.4.0 from 0.3.2 New Features A VIM tool window has been added. This is used to show the current mode (if :set showmode is…
user2679290
  • 144
  • 9
0
votes
1 answer

Simpler way to make mappings which work with all text objects in Ideavim?

I'm used to using https://www.vim.org/scripts/script.php?script_id=2703 for replacing a text object in Vim and I'm now in the process of recreating some of this functionality in IdeaVim. I'm using these mappings in my vimrc: nmap Ö…
ruohola
  • 21,987
  • 6
  • 62
  • 97
0
votes
1 answer

How can I do :clearjumps in ideavim in Intellij?

I want to clear the jump history by doing :clearjumps, however ideavim errors out. How can I achieve this in ideavim in Intellij or Pycharm?
katiex7
  • 863
  • 12
  • 23
0
votes
1 answer

vim surrround ideavim - Surrounding visually selected text adds class attribute to end tag

I am using IdeaVim on pycharm with Vim surround plugin. The issue i am having is that when i try to surround a visually selected text inside html tag that has class as well, it adds the class attribute to the end tag as well. Here is the example…
Rohit
  • 3,659
  • 3
  • 35
  • 57
0
votes
1 answer

Autocmd to trigger on Window Select in Ideavim

I am trying to reproduce the tips outlined in this article in IdeaVim. Relative or hybrid line numbers work like a charm, no trouble there. However, when using with split windows in IntelliJ Idea (opened for example by ) I would like to have the…
hschne
  • 704
  • 5
  • 21
0
votes
1 answer

Pycharm ideavim macro recording not happening while pressing 'q'

I am using Pycharm Community Edition 2017.02 along with the IdeaVim plugin for Vim emulation. When I press 'q' to record a macro, it is closing the tab instead of starting to record a macro. How can I fix this?
rahulr92
  • 137
  • 3
  • 8
0
votes
1 answer

How to let PyCharm/IntelliJ handle a specific hotkey rather than IdeaVim?

I've installed IdeaVim in PyCharm and in IntelliJ and I'd like to set the editors to handle certain key events. How can I do that? Previously, I've seen a popup with a message like "You just pressed x+y and it was handled by IdeaVim. If you'd like…
L42
  • 3,052
  • 4
  • 28
  • 49
0
votes
1 answer

ideavim loses focus with nnoremap / /\v

I am using following mapping in my vimrcs to simplify searches. nnoremap / /\v vnoremap / /\v but when I tried to use this in IDEA, after pressing "/" command line "popup" with expected /\v appears, but the keyboard focus is completely lost.…
adekcz
  • 340
  • 2
  • 13
0
votes
0 answers

How to see command history with Ideavim

I can do so in vim with q:, but that doesn't work with Ideavim. Seeing the command history is really useful for find and replace command history, and would make this plugin really nice.
UtsavShah
  • 857
  • 1
  • 9
  • 20
0
votes
1 answer

Make IdeaVim use IDE shortcuts in insert mode but VIM key map in normal mode

I'm new to vim and still learning it but i found the shortcuts in IntelliJ are quite easy to use. Eg: Ctrl + b for Go to declaration, Ctrl + q Show doc I often check docs while I'm writing code and I'd like to keep the shortcuts available in insert…
MiDaa
  • 1,149
  • 1
  • 11
  • 25
0
votes
1 answer

Copy & Paste Vim effects

Is it possible to add, an "fade-in" textual animation while copying in Vim? For example, If I typed: 3yy I would like Vim to momentarily blink the three lines that I copied. How can I do this?
ConsistentProgrammer
  • 1,294
  • 10
  • 14
0
votes
1 answer

Ideavim - how can map a search and replace regex that contains a pipe and a %?

This won't work when mapped to a shortcut in my ideavimrc. I've narrowed it down to the pipe and the % symbols that are messing up the search and replace. This works when input…
Preston Garno
  • 1,175
  • 10
  • 33