Vim is showing a different color when setting it up in .vimrc file than when selected it manually when Vim is running
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am experimenting color schemes for vim, and it isn't the first time the same scheme of colors shows differently when I set it manually by typing color [file name].vim
and setting it up in my .vimrc
.
For example, the colors I'm trying to set up is burnttoast256
. When I select it manually inside running Vim, it shows like this:
But then, when exiting and entering Vim, the following:
If I select the colors via color
or colorscheme
command, it will correctly show the colors.
I already experienced some other color schemes that I needed to remove set background=256
for an accurate display, but in the case of this one, removing it doesn't solve.
Why?
vim colors vimrc
add a comment |Â
up vote
0
down vote
favorite
I am experimenting color schemes for vim, and it isn't the first time the same scheme of colors shows differently when I set it manually by typing color [file name].vim
and setting it up in my .vimrc
.
For example, the colors I'm trying to set up is burnttoast256
. When I select it manually inside running Vim, it shows like this:
But then, when exiting and entering Vim, the following:
If I select the colors via color
or colorscheme
command, it will correctly show the colors.
I already experienced some other color schemes that I needed to remove set background=256
for an accurate display, but in the case of this one, removing it doesn't solve.
Why?
vim colors vimrc
1
Are you sure that your.vimrc
isn't doing something else to adjust the colors and/or color scheme?
â Andy Dalton
Oct 9 '17 at 3:39
Apparently the first 3 lines aftercolorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.
â gamofe
Oct 9 '17 at 4:13
1
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am experimenting color schemes for vim, and it isn't the first time the same scheme of colors shows differently when I set it manually by typing color [file name].vim
and setting it up in my .vimrc
.
For example, the colors I'm trying to set up is burnttoast256
. When I select it manually inside running Vim, it shows like this:
But then, when exiting and entering Vim, the following:
If I select the colors via color
or colorscheme
command, it will correctly show the colors.
I already experienced some other color schemes that I needed to remove set background=256
for an accurate display, but in the case of this one, removing it doesn't solve.
Why?
vim colors vimrc
I am experimenting color schemes for vim, and it isn't the first time the same scheme of colors shows differently when I set it manually by typing color [file name].vim
and setting it up in my .vimrc
.
For example, the colors I'm trying to set up is burnttoast256
. When I select it manually inside running Vim, it shows like this:
But then, when exiting and entering Vim, the following:
If I select the colors via color
or colorscheme
command, it will correctly show the colors.
I already experienced some other color schemes that I needed to remove set background=256
for an accurate display, but in the case of this one, removing it doesn't solve.
Why?
vim colors vimrc
vim colors vimrc
asked Oct 9 '17 at 2:21
gamofe
16019
16019
1
Are you sure that your.vimrc
isn't doing something else to adjust the colors and/or color scheme?
â Andy Dalton
Oct 9 '17 at 3:39
Apparently the first 3 lines aftercolorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.
â gamofe
Oct 9 '17 at 4:13
1
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25
add a comment |Â
1
Are you sure that your.vimrc
isn't doing something else to adjust the colors and/or color scheme?
â Andy Dalton
Oct 9 '17 at 3:39
Apparently the first 3 lines aftercolorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.
â gamofe
Oct 9 '17 at 4:13
1
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25
1
1
Are you sure that your
.vimrc
isn't doing something else to adjust the colors and/or color scheme?â Andy Dalton
Oct 9 '17 at 3:39
Are you sure that your
.vimrc
isn't doing something else to adjust the colors and/or color scheme?â Andy Dalton
Oct 9 '17 at 3:39
Apparently the first 3 lines after
colorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.â gamofe
Oct 9 '17 at 4:13
Apparently the first 3 lines after
colorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.â gamofe
Oct 9 '17 at 4:13
1
1
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396923%2fvim-is-showing-a-different-color-when-setting-it-up-in-vimrc-file-than-when-sel%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Are you sure that your
.vimrc
isn't doing something else to adjust the colors and/or color scheme?â Andy Dalton
Oct 9 '17 at 3:39
Apparently the first 3 lines after
colorscheme
were the cause, but I do not understand very well the reason since when I select a color manually it should be affected by the same configuration.â gamofe
Oct 9 '17 at 4:13
1
Configuration is applied in order. When you select it manually, you're doing so after whatever in your vimrc that made the undesired change was applied, so the new change overrode the old.
â Andy Dalton
Oct 9 '17 at 4:25