jupyter-vim-binding icon indicating copy to clipboard operation
jupyter-vim-binding copied to clipboard

how can I change the color of cursor when I in the command mode?

Open PKUFlyingPig opened this issue 4 years ago • 1 comments

image

PKUFlyingPig avatar Mar 02 '20 01:03 PKUFlyingPig

It looks like the color is predefined in codemirror.css

.cm-fat-cursor .CodeMirror-cursor {
  width: auto;
  border: 0 !important;
  background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
  z-index: 1;
}
.cm-fat-cursor-mark {
  background-color: rgba(20, 255, 20, 0.5);
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
  width: auto;
  border: 0;
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
  background-color: #7e7;
}

foxale avatar Apr 02 '20 22:04 foxale