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, you can either turn it off, like @redredtokki states (Tools > VimEmulator), or

Change the Ctrl-X and Ctrl-V keys in File > Settings

under: Editor > Vim Emulation:

Change the column on the right from "Vim" to "IDE".




回答4:


If you wanna use vim and also shortcuts like Ctrl+C/Ctrl+V/Ctrl+X, you may redefine the shortcuts as IDE shortcuts in:

File-->Settings-->Other Settings-->Vim Emulator



来源:https://stackoverflow.com/questions/28156011/how-to-change-editor-behavior-in-intellij-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!