Vim is showing a different color when setting it up in .vimrc file than when selected it manually when Vim is running

The name of the pictureThe name of the pictureThe name of the pictureClash 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:



enter image description here



But then, when exiting and entering Vim, the following:



enter image description here



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?










share|improve this question

















  • 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














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:



enter image description here



But then, when exiting and entering Vim, the following:



enter image description here



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?










share|improve this question

















  • 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












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:



enter image description here



But then, when exiting and entering Vim, the following:



enter image description here



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?










share|improve this question













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:



enter image description here



But then, when exiting and entering Vim, the following:



enter image description here



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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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












  • 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







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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay