Open nick-s-b opened 9 years ago
Thank you. This just saved me. I don't even use vitality and this helped me fix it using iterm. I'd suggest opening this against the Neovim repo if it's a neovim issue.
I was able to place this in my ~/.vimrc which solved it for me:
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
I did this but nothing happened - cursor still doesn't change shape. Am on ubuntu 14.04 with default terminal if it helps. Thanks
Use 'guicursor', not NVIM_TUI_ENABLE_CURSOR_SHAPE, since Nvim 0.2.
https://github.com/neovim/neovim/wiki/FAQ#how-to-change-cursor-shape-in-the-terminal
Just a quick note for those who have switched to neovim and still use Vitality.vim. Cursor changes are supported directly by Neovim's term library and you don't need any hacks. To use it, just set an env variable in your zshrc/bash_profile:
export NVIM_TUI_ENABLE_CURSOR_SHAPE=1