.vimrc에 다음 내용을 추가한다.

let &t_SI = "\<ESC>[6 q"
let &t_EI = "\<ESC>[2 q"

vim - insert, command(normal) mode 별로 cursor 모양 변경하기