I'm used to work with gvim, but I want to use the benefits of vim+tmux. Therefor I want to change to vim. But in vim the cursor style does not change depending in which mode I am, a useful feature of gvim. I use the zsh (oh-my-zsh) and below the gnome-terminal.
I tried this answer: http://vim.wikia.com/wiki/Change_cursor_shape_in_different_modes
if has("autocmd")
au InsertEnter * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
au InsertLeave * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape block"
au VimLeave * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
endif
but that changes the cursor globaly. Definitely something I don't want
next I tried this plugin: http://www.vim.org/scripts/script.php?script_id=4403 , but it hasn't worked neither.