Skip to content

Instantly share code, notes, and snippets.

@BrandonShega
Last active September 4, 2015 18:03
Show Gist options
  • Save BrandonShega/df4ad38c41d96385b2b7 to your computer and use it in GitHub Desktop.
Save BrandonShega/df4ad38c41d96385b2b7 to your computer and use it in GitHub Desktop.
Atom Vim Cursor Hack
atom-text-editor.vim-mode.normal-mode,
atom-text-editor.vim-mode.operator-pending-mode,
atom-text-editor.vim-mode.visual-mode
{
&, // only keep this if you want to see the cursor on non-focused tabs
&.is-focused {
&::shadow, // shadow-DOM enabled
& // shadow-DOM disabled
{
/* cursor color */
.cursor {
background-color: #ffffff;
// cursor styles
}
.blink-off .cursor {
background-color: #222222;
opacity: 0;
// cursor style while blinking (if you so desire)
}
/* bracket matcher */
.bracket-matcher {
background-color: #ffffff;
opacity: 0.6 !important;
width: 0.63em !important;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment