LoginSignup
14
16

More than 5 years have passed since last update.

Vimのカーソルの形状を変更したい

Last updated at Posted at 2014-10-10

覚書きにまで

Insertモードに変更した時、カーソルの形状を変更したい。

0Kr5BHOf1n.gif
こんな感じ

記述内容

" Insertモードのときカーソルの形状を変更
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
inoremap <Esc> <Esc>
14
16
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
14
16