Vim cursor is invisible on gVim startup [closed]
It appears that whenever I open a new gVim window in i3, the cursor is invisible. There are a couple things that seem to consistently bring it back; for instance, entering and then exiting fullscreen works. However, switching to a different workspace on the same screen does not fix the cursor.
I'm not sure whether this is an i3 bug, a Vim bug, or a configuration error on my part, but I haven't seen it happen in KDE or Gnome, so I'm guessing it's an i3 bug.
I'm running VIM 7.4 compiled with the GTK2 GUI on CentOS 6.4 with i3 4.0.1. Please let me know if it would be helpful to see any info from my vim or i3 config files.
i3 4.0.1 is ancient. Upgrade to 4.6. If you can reliably reproduce it with i3, but not with e.g. awesome, wmii, twm, …, please file a bug at http://bugs.i3wm.org/
I'm not sure I can upgrade. The downloads page recommends using the i3 package provided by the distro I'm using. I'm using CentOS 6, which uses the rhel6_epel repo for fedora packages. The i3 package is version 4.0.1. So I tried downloading 4.6 and running `make`, but it failed.
I still haven't found a way to upgrade, but I did try running gvim in xmonad (the only other tiling window manager available to me at the moment) and saw the same bug, so I'll go see if I can ask the Vim folks about it.
Oh, I see the problem now; I had an autocmd in my vimrc trying to set the column width; commenting this out seems to fix the issue.