Closed jmbuhr closed 3 years ago
Thanks! I decided to take a slightly different approach in #53. You can test it out by updating rsthemes
, and reinstalling the themes (and maybe restarting RStudio).
remotes::install_github("gadenbuie/rsthemes@fix-cursor")
# restart R session
rsthemes::install_rsthemes()
# restart RStudio
rsthemes::try_rsthemes()
Thanks! This looks like a more thorough solution.
I noticed for a couple of themes where using them with vim-mode was harder, because the cursor was just a big block with no transparency. It seems that the
opacity
value doesn't do anything, so I replaced all hex-color values for the cursor in normal mode withrgba
values. I defaulted to 0.5 opacity unless the theme already had another value.I didn't do it for the base16 themes yet because they are so many I would probably write a script for that so I wanted to check with you first.