ideavim

cscope/ctags navigation in Intellij Idea vim plugin

一笑奈何 提交于 2019-12-24 19:30:10
问题 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 work. I could try adding .ideavim to add my own mapping, but I am looking for something that does not require this step. 回答1: cscope is not one of the emulated plugins. You can use IntelliJ IDEA navigation to reach that. Also, you can map keys to

Where i can find .ideavimrc file of ideavim 0.41 on windows 7?

限于喜欢 提交于 2019-12-22 06:33:16
问题 I use android studio on Windows 7 and it installed IdeaVim, i used :map jj <Esc> (i know it's a mistake), after that i used :map jj in order to disable it and it became <Nop> . But when i came back to command mode, i can't use j to go down anymore. I tried unmap , mapclear ,.. but it's not work. So now i want to find .ideavimrc file to remove that mapping (i am a newbie about vim, so detail please :D ) 回答1: I had a problem with this too. I found out it was because I hadn't created the file. I

Useful customizations in .ideavimrc

萝らか妹 提交于 2019-12-20 19:08:51
问题 I'm interested in hearing how some of you have customized your .ideavimrc file to improve your workflows within your Jetbrains IDE. I'm unsure of its capabilities and would love to know what can be customized. A list of possible customizations would also be helpful. Thanks! 回答1: Basically you can safely source your ~/.vimrc, but be aware that some tricky :map commands may break IntelliJ shortcuts (that was the reason why IdeaVim switched to its own configuration file instead of ~/.vimrc). The

how do i replay macros in ideavim like regular vim?

心已入冬 提交于 2019-12-10 21:25:28
问题 Record my macro the usual way: qa ..do stuff.. q Try to replay it 5 times but it only runs once: "5@a How do I run it multiple times? Opened bug report: https://youtrack.jetbrains.com/issue/VIM-1402 回答1: I don't believe that action is supported by the plugin. I'm not seeing a unit test in their code for this. I scanned their bugtracker but didn't see any existing report for this behavior. It would probably be a good idea to open one up. 来源: https://stackoverflow.com/questions/48233795/how-do

Where i can find .ideavimrc file of ideavim 0.41 on windows 7?

家住魔仙堡 提交于 2019-12-05 09:02:54
I use android studio on Windows 7 and it installed IdeaVim, i used :map jj <Esc> (i know it's a mistake), after that i used :map jj in order to disable it and it became <Nop> . But when i came back to command mode, i can't use j to go down anymore. I tried unmap , mapclear ,.. but it's not work. So now i want to find .ideavimrc file to remove that mapping (i am a newbie about vim, so detail please :D ) I had a problem with this too. I found out it was because I hadn't created the file. I am on Windows 7 and am using Android Studio. Go to C:/Users/YourUserName/.ideavimrc. If .ideavimrc doesn't

Useful customizations in .ideavimrc

随声附和 提交于 2019-12-03 06:11:58
I'm interested in hearing how some of you have customized your .ideavimrc file to improve your workflows within your Jetbrains IDE. I'm unsure of its capabilities and would love to know what can be customized. A list of possible customizations would also be helpful. Thanks! Basically you can safely source your ~/.vimrc, but be aware that some tricky :map commands may break IntelliJ shortcuts (that was the reason why IdeaVim switched to its own configuration file instead of ~/.vimrc). The only non-Vim command supported by now (v 0.39) is :action . You can define multi-key bindings for IntelliJ

How to configure in IdeaVIM Ctrl + N and Ctrl + P completion from Vim?

≡放荡痞女 提交于 2019-12-03 05:33:48
问题 In Vim we can use Ctrl + N or Ctrl + P to finish code completion. How to configure it in IdeaVim for IntelliJ? 回答1: Alt + / and Alt + Shift + / work both in plain IntelliJ and with IdeaVim installed. Please see documentation on JetBrains page - it's called Hippie Completion (newer versions call this completion Cyclic Expand Word). And of course you can always use Ctrl + Space , Ctrl + Shift + Space , Ctrl + Alt + Space . 回答2: I could not get CTRL-N and CTRL-P to work after mapping them to

Intellij IDEA with ideavim. Cannot copy text from another source

会有一股神秘感。 提交于 2019-12-03 03:27:35
问题 I tried to copy text from IDEA with ideavim plugin, using default vim keybindings ( y ). But this text isn't copied in global buffer and i can paste it only in IDEA. How can I use copied piece of text in browser, for example? 回答1: Vim's yank command doesn't yank to the system clipboard by default; it yanks to the unnamed register. You can use the * or + register to access the system clipboard; also see this wiki article for more information. Or just set this option in your ~/.ideavimrc : set

how to change editor behavior in intellij idea

删除回忆录丶 提交于 2019-12-03 03:01:31
问题 I have installed IntelliJIdea 14.0.2 just now. I do not know its default editor but it is opening my source files in vi option now. So, not letting me do default action like Ctrl + v , Ctrl + d which was present before and I used to like it. So, how to change this behavior like present in sublime - editors ? 回答1: If you don't need vi keybindings, uninstall the IdeaVIM plugin. 回答2: disable below option in menu bar. Tools -> VimEmulator(Ctrl + Alt + V) 回答3: If you don't want to uninstall vi,

Using PhpStorm IdeaVim, I can't use shift+arrow keys to select words

社会主义新天地 提交于 2019-12-03 02:41:01
问题 I am using PhpStorm 7.1.2 with IdeaVim plugin. When in Insert mode, I want to select words using Shift + ArrowKey . However, this IdeaVim plugin seems to be preventing from doing that. I can only highlight the words in Command mode using v key. shift+Home/End/PageDown/PageUp or shift+ctrl+arrowKeys all do not work properly. I tried changing shortcuts (i.e. Select to Right => shift+right) in Keymap setting but did not work. Is there any way I can achieve this non-vim behavior? UPDATE 1 There