60
61

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vimで日本語の切り替えで毎回っっっっっっってなる対策

Last updated at Posted at 2013-10-11

Vimで日本語の切り替えで毎回っっっっっっってなる対策 / さよならインターネット

.gvimrc

if has('multi_byte_ime') || has('xim') 
  highlight Cursor guifg=NONE guibg=White
  highlight CursorIM guifg=NONE guibg=DarkRed
endif

って書いたら

http://gifzo.net/hfBHJNAZR0.gif

こんな風に全角の時に赤色になるから
ノーマルモードで全角で入力しちゃってうわああああ!!!
っていうことなくなるのでおすすめです。

MacVimだとmulti_byte_ime使えなくて
macvim-kaoriyaだと使えました。
マコピーに教えてもらいました。ライフチェインジング!

60
61
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
60
61

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?