Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] Save a theme set using the [F2] menu + Add another example of default theme in config file #533

Open
mahaaaham opened this issue Mar 20, 2023 · 0 comments

Comments

@mahaaaham
Copy link

First, thank you for this marvelous prompt!

I would like to know if it is possible to save a choice selected using the [F2] menu, in order for it to be the default in the next launch of ptpython. In my situation, I would like to do this for the code theme (I use "dracula", that I have with Pygments)

Actually, I saw it is possible to use a config file, in .config/ptpython/config.py , but I don't know how it is possible to set a code theme as default in this file. I know I have to use Pygments for this but I don't understand how It actually works
Would it be possible to put an example of this in the example config file? There is only examples of themes where colors are indicated, not the import of an existing theme, and I didn't find such an example when looking "on internet".

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant