Giter Site home page Giter Site logo

Change color scheme about xo HOT 5 OPEN

scopatz avatar scopatz commented on August 22, 2024
Change color scheme

from xo.

Comments (5)

scopatz avatar scopatz commented on August 22, 2024

Hi Stefan, META is the Alt key for me with default Ubuntu keymapping settings. (META4 is the windows key.) So you can change the color scheme by using Alt+s and then typing in the color scheme you want to use. A list of possibilities will pop up.

from xo.

bawr avatar bawr commented on August 22, 2024

I tried changing the pygments style, opening a .py file for reference, but when I use meta+s, I get a prompt with a list of styles, type one of the listed names, press enter... and nothing changes.

I retried with pretty much all of the names that were listed - is there anything I can do to debug this?

EDIT: changing the colour scheme does work if I specify it in a config file, though.

from xo.

scopatz avatar scopatz commented on August 22, 2024

xo doesn't refresh the colors until the line needs to be redrawn (yes, this is a bug). So once you change with meta+s, you currently need to move the cursor over the line.

PRs welcome!

from xo.

susca avatar susca commented on August 22, 2024

Hi, is there a way to save the colour scheme, so that the next time I start xo, I don't have to choose it again?

Thanks

from xo.

scopatz avatar scopatz commented on August 22, 2024

Hi @susca, not yet, but pull requests are welcome!

from xo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.