Vim cursor is invisible on gVim startup [closed]

asked 2013-10-07 19:27:05 +0000

BatmanAoD gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by Michael
close date 2013-10-07 19:33:00.036212

Comments

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/

Michael gravatar imageMichael ( 2013-10-07 19:32:53 +0000 )edit

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.

BatmanAoD gravatar imageBatmanAoD ( 2013-10-09 17:02:18 +0000 )edit

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.

BatmanAoD gravatar imageBatmanAoD ( 2013-10-11 16:28:10 +0000 )edit

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.

BatmanAoD gravatar imageBatmanAoD ( 2013-10-14 23:43:59 +0000 )edit