LoginSignup
4
2

More than 5 years have passed since last update.

vs codeのvimでescとcapslockが入れ替わらない時の対処法

Last updated at Posted at 2018-09-24

ubuntu18.04でgnome-tweak-toolを使いescとcapslockを入れ替えて使用しているが、

拡張機能のvimを入れたvisual studio codeで
・capslockで反応無し
・escボタンで、escとcapslockの同時押しのような反応

という状態に陥った。

どうやら調べると、VS codeのバグらしい
※参照 (https://github.com/VSCodeVim/Vim/issues/2419)

ここに解決策があった

これを

ユーザ設定(変更前)

  // `keydown.code` (推奨) または `keydown.keyCode` のいずれかを使用するキー操作のディスパッチ ロジックを制御します。
  "keyboard.dispatch": "code",

こうして

ユーザー設定(変更後)
  "keyboard.dispatch": "keyCode"

再起動

4
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2