Useful customizations in .ideavimrc

后端 未结 4 1865
借酒劲吻你
借酒劲吻你 2021-02-07 10:03

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 lo

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-07 10:19

    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 actions instead of crazy shortcuts for 3 or more fingers. For example:

    nnoremap ,c :action GotoClass
    

提交回复
热议问题