0

Since there are themes only work on GUI, so is it possible to make the Terminal to use another theme than GUI one?

0

1 Answer 1

1

Just put the terminal colorscheme in your vimrc (usually ~/.vimrc or $HOME\_vimrc on Windows) and the gui colorscheme in your gvimrc. Create ~/.gvimrc / $HOME\_gvimrc if you don't already have that file.

This works because gvimrc is only read when you run gvim and it is read in after vimrc

3
  • Sorry I didn't state my question correctly, I'm using macvim, and it seems like macvim is still take .vimrc and ignore .gvimrc? I'm debugging for this. Mar 29, 2021 at 15:31
  • 1
    @job_start no, macvim reads the gvimrc. see :help gvimrc and scroll a bit for the right locations
    – D. Ben Knoble
    Mar 29, 2021 at 15:43
  • I accidentally typed colorscheme =tone in .gvimrc! Problem solved it's my typo, lol! Mar 29, 2021 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.