title: IntelliJ terminal cursor shape
body: <p>So, I am obsessed with Vim. I use vi mode everywhere - in all the editors and IDEs that support it. I use it it my browser (<a href="https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb" rel="nofollow">vimium</a>, <a href="https://chrome.google.com/webstore/detail/wasavi/dgogifpkoilgiofhhhodbodcfgomelhe" rel="nofollow">wasavi</a>). I use 'hjkl' navigation everywhere thanks to awesome <a href="https://pqrs.org/osx/karabiner/" rel="nofollow">Karabiner</a>. I use vi mode in my terminal via iTerm under zsh. Long time ago I found <a href="https://raw.githubusercontent.com/ramiroaraujo/dotfiles/master/zsh/vi-mode.zsh" rel="nofollow">this little trick</a> that changes cursor shape in the terminal depending of what mode you're currently in. </p>
  
  <p>Now, although it perfectly works for iTerm, sadly it doesn't work in OS X's builtin terminal. I couldn't care less about that, except it also doesn't work in my favorite WebStorm. I thought I could trick it and instead of changing cursor's shape I could try tweaking its color. Still didn't work.</p>
  
  <p>Please guys, <strong>help me to find a way to tweak cursor in IDEA's Terminal.</strong>
  Thanks!</p>
  
  <p>p.s.: Some may suggest to change the prompt depending the mode, but honestly I don't like that. I still believe there's a way to change cursor shape or color. Prob. just need to find the right escape sequence. </p>