In vim, terminal and iterm have different syntax colors


Yura

I am new to vim setting T__T.

in the terminal in iterm2

On the left is the terminal display.

On the right is the iterm2 display.

How to change color in terminal like in iterm2

Thanks in advance.

Paul Pei

Some vim color schemes (including defaults) will use the terminal's palette as the default color value. However, if you use a Colorscheme with full 256 color support, which I believe also has 256 by default, the problem goes away.

Here's a photo where desert (not 256) is a color scheme between iTerm and Terminal:1

Here's a photo of the jellybeans (256):2

Related


In vim, terminal and iterm have different syntax colors

Yura I am new to vim setting T__T. On the left is the terminal display. On the right is the iterm2 display. How to change color in terminal like in iterm2 Thanks in advance. Paul Pei Some vim color schemes (including defaults) will use the terminal's palette a

Terminal and iTerm2: same profile ANSI colors look different

Sergiy Belozorov I've configured iTerm2's profile to match the color of the Pro profile in the Terminal app that comes with OS X El Captain. Still, I can clearly see some showing different colors: Why is this happening? What other settings do I miss? Profile e

Terminal and iTerm2: same profile ANSI colors look different

Sergiy Belozorov I've configured iTerm2's profile to match the color of the Pro profile in the Terminal app that comes with OS X El Captain. Still, I can clearly see some showing different colors: Why is this happening? What other settings do I miss? Profile e

Terminal and iTerm2: same profile ANSI colors look different

Sergiy Belozorov I've configured iTerm2's profile to match the color of the Pro profile in the Terminal app that comes with OS X El Captain. Still, I can clearly see some showing different colors: Why is this happening? What other settings do I miss? Profile e

Terminal and iTerm2: same profile ANSI colors look different

Sergiy Belozorov I've configured iTerm2's profile to match the color of the Pro profile in the Terminal app that comes with OS X El Captain. Still, I can clearly see some showing different colors: Why is this happening? What other settings do I miss? Profile e

Terminal and iTerm2: same profile ANSI colors look different

Sergiy Belozorov I've configured iTerm2's profile to match the color of the Pro profile in the Terminal app that comes with OS X El Captain. Still, I can clearly see some showing different colors: Why is this happening? What other settings do I miss? Profile e

vim custom syntax, highlight classes with different colors

Juan I am new to vim syntax highlighting customization. Try creating a text-based call path description file: // Entry point Class1#mainMethod Class1#privateMethod2 Class2#method3 Class3#method4 Class4#method5 In plantUML, the equivalent i

vim custom syntax, highlight classes with different colors

Juan I am new to vim syntax highlighting customization. Try creating a text-based call path description file: // Entry point Class1#mainMethod Class1#privateMethod2 Class2#method3 Class3#method4 Class4#method5 In plantUML, the equivalent i

Different colors displayed in Vim via gnome terminal than gVim

username Why are the colors different when using the color scheme 'blackboard' through Vim in gnome-terminal and when using the same theme in gVim? That is, the background is black while on gVim it's blue, the function names are not displayed correctly, etc. O

Different colors displayed in Vim via gnome terminal than gVim

username Why are the colors different when using the color scheme 'blackboard' through Vim in gnome-terminal and when using the same theme in gVim? That is, the background is black while on gVim it's blue, the function names are not displayed correctly, etc. O

Unable to use vim theme in iTerm or Terminal

Sukhanov Nikolai First, I understand t_Co, TERM=xterm-256colors, etc. And I can't use macVim or gvim because I need it in ssh. However, when I set the theme in vim (all themes except Peaksea), I get: I found a "solution" and it has to do with ansi colors. When

Vim colors not working properly in terminal

Assis I'm using gnome-terminal and I'm using vim with a solarized color theme. When I open vim in terminal, it's illegible. However, when I open the file in gvim, the color scheme works fine. The Gnome Terminal's color scheme has also been tanned. One thing to

Vim colors not working properly in terminal

Assis I'm using gnome-terminal and I'm using vim with a solarized color theme. When I open vim in terminal, it's illegible. However, when I open the file in gvim, the color scheme works fine. The Gnome Terminal's color scheme has also been tanned. One thing to

Make Vim use terminal colors again

justice I use Xfce4 and its terminal seems to have been upgraded and now supports 256 colors or true color (I'm not sure). These seem to be the relevant variables it exports: COLORTERM=truecolor TERM=xterm-256color One of the unexpected changes it caused was

linux terminal remove colors and syntax highlighting

crow My question: How to use terminal with white text on black background without bold, italic, underline? information: I am currently setting up my linux terminal (ubuntu, bash). I found somewhere that if you do this it TERM=vt220will remove the color. I've i

linux terminal remove colors and syntax highlighting

crow My question: How to use terminal with white text on black background without bold, italic, underline? information: I am currently setting up my linux terminal (ubuntu, bash). I found somewhere that if you do this it TERM=vt220will remove the color. I've i

Certain colors are not easy to see in vim syntax highlighting

sunxd I'm using the solarized plugin, and some text (like R built-in functions and nerdtree directories) are displayed in hard-to-see colors, is there a way to fix this? I'm using Ubuntu 16.04 and tmux 2, the terminal setting is "use system theme's colors", th

Some properties have different colors

username Guys, why are some properties colored differently than others? This happens in different text editors, not just atom. The same problem happens with SCSS. It's annoying. Can i disable it? thanks. By Kurpiak This happens because all js objects have some

Some properties have different colors

username Guys, why are some properties colored differently than others? This happens in different text editors, not just atom. The same problem happens with SCSS. It's annoying. Can i disable it? thanks. By Kurpiak This happens because all js objects have some

Some properties have different colors

username Guys, why are some properties colored differently than others? This happens in different text editors, not just atom. The same problem happens with SCSS. It's annoying. Can i disable it? thanks. By Kurpiak This happens because all js objects have some

Some properties have different colors

username Guys, why are some properties colored differently than others? This happens in different text editors, not just atom. The same problem happens with SCSS. It's annoying. Can i disable it? thanks. By Kurpiak This happens because all js objects have some

Is it possible to have vim keybindings in the terminal?

Someone is still using your MS-DOS I'm used to vim bindings (e.g. w to go to word, dw to delete word, etc.), and its modes (insert, normal, visual), and out of curiosity I wonder: here is some of this behavior Implementation of the way and binding from vim to

Is it possible to have vim keybindings in the terminal?

Someone is still using your MS-DOS I'm used to vim bindings (e.g. w to go to word, dw to delete word, etc.), and its modes (insert, normal, visual), and out of curiosity I wonder: here is some of this behavior Implementation of the way and binding from vim to

Is it possible to have vim keybindings in the terminal?

Someone is still using your MS-DOS I'm used to vim bindings (e.g. w to go to word, dw to delete word, etc.), and its modes (insert, normal, visual), and out of curiosity I wonder: here is some of this behavior Implementation of the way and binding from vim to

Vim config slows down in Terminal and iTerm2, but not in MacVim

Jey balachandran Ideally, I'd like to use Vim from Terminal or iTerm2. However, it became incredibly slow, so I had to use MacVim. There's nothing wrong with MacVim, but if I just use Terminal/iTerm2, my workflow will be smoother. when it's slow It takes about

Vim config slows down in Terminal and iTerm2, but not in MacVim

Jey balachandran Ideally, I'd like to use Vim from Terminal or iTerm2. However, it became incredibly slow, so I had to use MacVim. There's nothing wrong with MacVim, but if I just use Terminal/iTerm2, my workflow will be smoother. when it's slow It takes about

Print Hello World in different colors in terminal

Schadoff #include <stdio.h> int main() { printf("\033[0;30Hello world!\n"); printf("\033[0;31Hello world!\n"); printf("\033[0;32Hello world!\n"); printf("\033[0;33Hello world!\n"); printf("\033[0;34Hello world!\n"); printf("\033[0;3