0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Vim on VScode(ver1.101)の挿入モードがおかしい時の対処

Last updated at Posted at 2025-06-24

私はVimが好きで、何か文章を書いている時はESCキーを連打するタイプの人間です。
VScodeにもプラグインでVimをインストールしているのですが、なんかおかしくなりました。
本記事は問題とその対処法です。

問題:VScodeがなんかおかしい

具体的には以下の3点です。
1.全角が二文字分挿入される
空白2文字入る.gif

2.挿入モード時に文字が入力される
挿入モード時に文字が入力される.gif

3.入力済みの文字の上で、挿入モード時に文字を入力すると上書きされる
上書きされる.gif

解決策

vscodeのissueに載ってました。
https://github.com/microsoft/vscode/issues/251518#issuecomment-2973606446
上記リンクのコメントの通りVScodeの設定を開き、editor.experimentalEditContextEnabledのチェックを外せば、先ほどの3つの問題が解消されました。
image.png

結局、Vimの問題というよりVScode側の問題のようですが参考まで。

補足

2025年6月12日のVScode ver1.101からeditor.experimentalEditContextEnabledが追加され、上記問題が発生したようです。
https://code.visualstudio.com/updates/v1_101#_edit-context

以上

0
1
0

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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?