Help us understand the problem. What is going on with this article?

Windowsのvimで挿入モードのIMEをデフォルトオフにする

More than 3 years have passed since last update.

Windowsで素のvimを起動すると、挿入モードでいきなり全角入力になっていて、動作が直感的でなく躓くことが多々あります。
下記の設定を行うことで、IMEをデフォルトオフにすることができます。

C:\Program Files\Vim\_vimrcに下記を追記

set iminsert=0
set imsearch=-1

iminsertは挿入モードのデフォルト値、imsearchは検索時のデフォルト値です。

0 = オフ
1 = オン

imsearchの-1はiminsertの値を参照するという意味です。

2016/02/26追記

こんなのもあるようです。

■ SSHを介してVimを使う人に感動的なESCキーを押すとESCキーが効きつつIMEがオフになる設定(Google日本語入力とVimの相性は最強!)
http://d.hatena.ne.jp/sifue/20120411/1334161078

enomotok
iOS Developer
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした