Skip to content

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

Description

@unphased

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions