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

Cursor state is messed up when using tmux to switch pane away while in insert mode #29

Open
unphased opened this issue Mar 1, 2015 · 0 comments

Comments

@unphased
Copy link

unphased commented Mar 1, 2015

If I'm not using FocusLost to stopinsert and I click out of the pane, the cursor isnt being reset to block.

Curiously enough, then when using tmux to switch back to the pane that has the Vim, it will flicker to block, then flicker back to line.

The evidence that I have which indicates this is a vitality problem is that if I actually do this: au FocusLost * stopinsert then the problem goes away! (Click outside of vim while in insert mode, and the cursor properly gets returned to normal).

So I think something is causing vitality to set the cursor back to line when switching out to another tmux pane because it thinks it should be a line because the Vim is still in insert mode.

@unphased unphased changed the title Cursor state is messed up when using tmux to switch pane away Cursor state is messed up when using tmux to switch pane away while in insert mode Mar 1, 2015
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

1 participant