Last active
September 4, 2015 18:03
-
-
Save BrandonShega/df4ad38c41d96385b2b7 to your computer and use it in GitHub Desktop.
Atom Vim Cursor Hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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