Closed raylillywhite closed 10 years ago
Hey @raylillywhite I'm having trouble reproducing.
The cursor shouldn't blink during normal mode--only in insert mode. When I open two panes, enter insert mode in one of them, then switch focus to the other pane, the cursor doesn't blink.
Likewise, when I open an editor in Atom and enter insert mode then focus a different application, the cursor still doesn't blink.
Do you see different results when you do the same things? Are you on the latest version of atom and vim-mode?
My mistake. I didn't realize that the cursor isn't supposed to blink during normal mode. It was only doing so because of customizations in my stylesheet. I normally use vim via the IdeaVIM plugin for AppCode, where it does happen to blink (at least with my settings).
The customizations that caused it were as follows:
.vim-mode.command-mode:not(.mini) .cursor {
background-color: #FFFFFF;
opacity: 0.7;
border-style: solid;
border-color: #FFFFFF;
border-width: 1px;
}
.vim-mode.command-mode:not(.mini) .cursor.blink-off {
background-color: transparent;
border-style: solid;
border-color: #FFFFFF;
border-width: 1px;
}
Presumably, this won't be a problem for other people, so I'll close this issue. If I find a solution that would solve this issue for anyone who does want the vim normal-mode cursor to blink, I'll report back here and open a PR if necessary. Thanks for looking into it @dougblack, and sorry for the false alarm.
Without the vim plugin, Atom will property stop the cursor from blinking when it is not in focus, but with the vim plugin enabled, the cursor continues to blink, which is pretty distracting.