I like the syntax highlight style scheme used for R scripts in github and I would like to get it to my gedit editor. Where could I get it?
Open the gedit menu from the top bar, then select Preferences ▸ Font & Colors. Choose your desired color scheme.
CSS. The CSS syntax theme is based on a custom syntax highlighter in use by GitHub.
Themes are stored in the $HOME/. local/share/gedit/styles directory. This is a hidden directory in your home. Simply copy all theme xml files to this directory.
The easiest way to get R syntax highlighting in Gedit is the RGedit add-on: http://sourceforge.net/projects/rgedit/
RGedit also allows executing R code from within Gedit, which is very handy.
Here's a screenshot of how I have my RGedit set up. I use a custom color pallet but you could alter the color scheme to look more like Github:
The lower pane is the R session (black on white) and the upper pane is the text editor (color on black).
gedit doesn't seem to have much in "syntax highlighting plugins":
Both doesn't support easily any language definition.
Maybe another editor (like bluefish for instance) would be more appropriate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With