Intellij IdeaVim更改密钥 [英] Intellij IdeaVim change keys

查看:194
本文介绍了Intellij IdeaVim更改密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的希望能够使用IdeaVIM,但我无法弄清楚我可以在哪里设置我的自定义vim键映射。例如,我想使用 Ctrl - C 而不是使用 h 而不是使用 Esc j k l 我喜欢用 w a s < kbd> d 。

I would really like to be able to use IdeaVIM but I am unable to figure out where I can set my custom vim key mappings. For example instead of using Esc I would like to use Ctrl-C and instead of using hjkl I like to use wasd.

我已经在我的 .vimrc 中设置了所有这些但是IdeaVIM未能加载他们。我可以手动将它们复制到需要的任何文件中,但没有关于如何执行此操作的文档。

I have all these already set in my .vimrc but IdeaVIM failed to load them. I can copy them over manually to whatever file is needed but there is no documentation on how to do this.

推荐答案

我已经我自己做了这个,在IntelliJ 11中非常简单。我知道在以前的版本中(9,可能?)设置键映射值是显着不同的。

I've done this myself, and its pretty easy in IntelliJ 11. I know that in previous versions (9, maybe?) setting up keymap values is significantly different.

在IntelliJ 11中您可以执行以下操作:

In IntelliJ 11 you can do the following:


  1. 转到设置

  2. 从左侧菜单中选择 Keymap

  3. 搜索退出插入模式在右侧并关联您想要使用的任何键,例如 CTRL-C

  1. Go to Settings
  2. Select Keymap from the left menu
  3. Search for Exit Insert Mode on the right side and associate whatever key you want to use, such as CTRL-C

这篇关于Intellij IdeaVim更改密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆