IntelliJ 键重复idea.vim [英] IntelliJ key repeating idea.vim

查看:60
本文介绍了IntelliJ 键重复idea.vim的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 IntelliJ CEIdeaVim 插件.

I just installed IntelliJ CE and IdeaVim plugin.

一个小弹出窗口询问密钥重复以及是否要启用它.但我只是点击了否",却不知道它在问什么.但这是关于移动键:h j k l.

One small popup asked about key repeating and if I want to make it enabled. But I just clicked "no" without knowing what it is asking about clearly. But it was about the moving keys: h j k l.

我无法按住这些键来连续移动光标.我曾尝试恢复此设置,但没有成功.

I cannot hold down these keys to move my cursor continuously. I've tried to revert this setting but no luck.

大多数答案要么是默认写入 com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false或者默认写入 com.jetbrains.intellij ApplePressAndHoldEnabled -bool false,但没有变化.

Most answers are either defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false or defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false, but no changes.

我使用的是 OS X El Capitan 10.11.6 和 IntelliJ IDEA CE 2016.2.4

I am on OS X El Capitan 10.11.6 and IntelliJ IDEA CE 2016.2.4

推荐答案

原来我需要在mac终端输入这个:

it turns out that I need to type this in the mac terminal:

defaults write -g ApplePressAndHoldEnabled -bool false

这与vim、intelliJ等无关.看来Mac是想通过按键来支持重音字符.

This is not related with any of vim, intelliJ, etc. It seems that Mac wants to support accent characters by holding the key.

这篇关于IntelliJ 键重复idea.vim的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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