Vim + iTerm2 color issues
I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2.
I try to get the solarized colorscheme working, but without luck so far.
Here you can see an image with (top left, top right, bottom left, bottom right) iTerm2, Terminal.app, MacVim and my iTerm2 settings.
I also imported the solarized color scheme in iTerm2.
Here the link to my .vimrc
vim terminal shell macvim iterm
add a comment |
I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2.
I try to get the solarized colorscheme working, but without luck so far.
Here you can see an image with (top left, top right, bottom left, bottom right) iTerm2, Terminal.app, MacVim and my iTerm2 settings.
I also imported the solarized color scheme in iTerm2.
Here the link to my .vimrc
vim terminal shell macvim iterm
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53
add a comment |
I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2.
I try to get the solarized colorscheme working, but without luck so far.
Here you can see an image with (top left, top right, bottom left, bottom right) iTerm2, Terminal.app, MacVim and my iTerm2 settings.
I also imported the solarized color scheme in iTerm2.
Here the link to my .vimrc
vim terminal shell macvim iterm
I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2.
I try to get the solarized colorscheme working, but without luck so far.
Here you can see an image with (top left, top right, bottom left, bottom right) iTerm2, Terminal.app, MacVim and my iTerm2 settings.
I also imported the solarized color scheme in iTerm2.
Here the link to my .vimrc
vim terminal shell macvim iterm
vim terminal shell macvim iterm
edited Dec 17 '17 at 18:32
Donald Duck
1,47061831
1,47061831
asked Feb 1 '13 at 18:39
Stefan SchmidtStefan Schmidt
11112
11112
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53
add a comment |
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53
add a comment |
3 Answers
3
active
oldest
votes
You have set t_Co=256
, try these lines in addition.
set term=xterm
set t_Co=256
let &t_AB="e[48;5;%dm"
let &t_AF="e[38;5;%dm"
add a comment |
I added CSApprox, and everything just worked.
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
add a comment |
What background colour of solarized you want to use? (light or dark)
If you want dark background, put set bg=dark
in your .vimrc
If you want light background, put set bg=light
in your .vimrc
I saw that in comment of your .vimrc
line #74
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f545167%2fvim-iterm2-color-issues%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have set t_Co=256
, try these lines in addition.
set term=xterm
set t_Co=256
let &t_AB="e[48;5;%dm"
let &t_AF="e[38;5;%dm"
add a comment |
You have set t_Co=256
, try these lines in addition.
set term=xterm
set t_Co=256
let &t_AB="e[48;5;%dm"
let &t_AF="e[38;5;%dm"
add a comment |
You have set t_Co=256
, try these lines in addition.
set term=xterm
set t_Co=256
let &t_AB="e[48;5;%dm"
let &t_AF="e[38;5;%dm"
You have set t_Co=256
, try these lines in addition.
set term=xterm
set t_Co=256
let &t_AB="e[48;5;%dm"
let &t_AF="e[38;5;%dm"
edited Feb 1 '13 at 21:25
answered Feb 1 '13 at 20:54
MaximusMaximus
18.3k1474103
18.3k1474103
add a comment |
add a comment |
I added CSApprox, and everything just worked.
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
add a comment |
I added CSApprox, and everything just worked.
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
add a comment |
I added CSApprox, and everything just worked.
I added CSApprox, and everything just worked.
answered Apr 3 '13 at 19:49
cemerickcemerick
1365
1365
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
add a comment |
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
Some mode details? As it stands, the answer isn't exactly informative...
– vonbrand
Apr 3 '13 at 20:13
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
More details? I'm afraid I'm new to both vim and iterm, so I don't have much in the way of explanation. However, I do know that installing that plugin allowed me to set the color scheme to whatever I wanted and get the same results in iTerm as I do in MacVim.
– cemerick
Apr 4 '13 at 0:22
add a comment |
What background colour of solarized you want to use? (light or dark)
If you want dark background, put set bg=dark
in your .vimrc
If you want light background, put set bg=light
in your .vimrc
I saw that in comment of your .vimrc
line #74
add a comment |
What background colour of solarized you want to use? (light or dark)
If you want dark background, put set bg=dark
in your .vimrc
If you want light background, put set bg=light
in your .vimrc
I saw that in comment of your .vimrc
line #74
add a comment |
What background colour of solarized you want to use? (light or dark)
If you want dark background, put set bg=dark
in your .vimrc
If you want light background, put set bg=light
in your .vimrc
I saw that in comment of your .vimrc
line #74
What background colour of solarized you want to use? (light or dark)
If you want dark background, put set bg=dark
in your .vimrc
If you want light background, put set bg=light
in your .vimrc
I saw that in comment of your .vimrc
line #74
answered Aug 18 '13 at 10:35
attomosattomos
1265
1265
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f545167%2fvim-iterm2-color-issues%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
JIC, are you sure, "solarized" is 256-color scheme?
– Maximus
Feb 1 '13 at 20:55
it's not necessarily just solarized which is not working. I get 3 different results for every scheme :(
– Stefan Schmidt
Feb 1 '13 at 21:23
I have this exact problem; font colors do change between colorschemes, but not the background…
– cemerick
Apr 3 '13 at 17:53