Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim/Nvim issue: Cursor shape is not changed when going into insert mode... (fix is easy) #31

Open
nick-s-b opened this issue Apr 18, 2015 · 4 comments

Comments

@nick-s-b
Copy link

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

@jamischarles
Copy link

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.

@jamischarles
Copy link

I was able to place this in my ~/.vimrc which solved it for me:

let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1

@ustulation
Copy link

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

@justinmk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants