mlkmt
mlkmt

Reputation: 237

Vim change colorscheme from commandline

I want vim/macvim to override the current theme from the commandline.

Something like:

vim -colorscheme=solarized 

Is there any way to tell vim/macvim to override the current .vimrc colorscheme from the commandline?

Upvotes: 1

Views: 131

Answers (1)

romainl
romainl

Reputation: 196516

Did you read $ vim --help?

$ vim -c "colorscheme desert"

Upvotes: 8

Related Questions