You are not logged in.
there is a way to open vim while selecting a colorscheme. I don't want to globally change the colorscheme, but I have an alias and I need to launch with a different color.
I used to do this, but I've forgotten. I can't find anything in the man page or online. online docs all reference global changes.
thanks.
Last edited by shoelesshunter (2022-07-10 05:01:35)
Offline
From vim manpage:
+{command}
-c {command}
{command} will be executed after the first file has been read. {command} is interpreted as an Ex command. If the {command}
contains spaces it must be enclosed in double quotes (this depends on the shell that is used). Example: vim "+set si" main.c
Note: You can use up to 10 "+" or "-c" commands.So, vim "+colorscheme <colorscheme-name>". Example: vim "+colorscheme desert"
Is that what you want?
I'm just someone. Please use [code] [/code] tags.
Offline
yes. thank you so much.
Offline