I am using iterm2 with powerlevel10k font and a color theme.
For example, the green color in my iterm2 is showing in vscode integrated terminal as grey.
Why are they not the same? and how can I make them the same?
Below are few terminal settings of my vscode
{
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.fontFamily": "MesloLGS NF"
}
iTerm2:
VSCode integrated terminal:
Related
i'm using vscode, neovim extension and nvim v0.8, on WSL2. I really enjoy the workflow with the vscode theme (dark+ default), but when I enable nvim, its colors overwrite the vscode colors
I've tried using the default neovim colorscheme in my ~.config/nvim/init.lua and reading the Docs, but i couldn't find how to fix it.
I know I can use settings like "terminal.integrated.fontFamily" to change the font and font size, but I'm confused why vscode isn't just loading my default iTerm2 profile? Shouldn't it be doing that?
I'm just using the default settings:
I already have vscode using iTerm:
But when I open the shell in vscode the font type is totally different.
Do I really need to maintain a separate vscode config or can vscode just load iTerm profiles?
If you are using "zsh" or "Oh my zsh", you can add the below line based on your OS to the VS Code settings.json:
Linux:
"terminal.integrated.defaultProfile.linux": "zsh"
macOS:
"terminal.integrated.defaultProfile.osx": "zsh"
Windows:
"terminal.integrated.defaultProfile.windows": "zsh"
I would like my iTerm2 have the circle line on the gutter (left) with the status of your executed commands, same as VS Code's integrated terminal's as follows:
The VS Code setting for this is "terminal.integrated.shellIntegration.decorationIcon": "circle-outline"
Is this possible? I'm currently using zsh with Oh-My-Zsh.
I am setting up VSCodium in my Manjaro KDE environment and I found out that my FiraCode font does not show properly in my integrated zsh terminal. This confuses me, because I thought that FiraCode has Powerline support. I also tried to use some other fonts instead from powerline-fonts, but those did not seem to load properly either.
This is what my integrated terminal looks like at the moment:
As you can see, a character fails to load on the left hand side. This is incorrect behavior as it does load correctly in my Konsole terminal.
This is what it should look like instead (picture is taken from my Konsole terminal):
My settings.json has the following contents:
{
// zsh (with oh my zsh) as default
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.fontFamily": "Fira Code Retina",
// Autosave
"files.autoSave": "afterDelay",
// FiraCode font
"editor.fontFamily": "Fira Code Retina",
"editor.fontLigatures": true
}
For now, I have no idea how to fix this issue nor what exactly causes it.
I noticed that if I open WSL terminal natively it doesn't have these bright colors and it's much more visible... When I change VSCODE's color theme terminal font coloring follows but never gets better :)
vscode color theme #1
vscode color theme #2
native WSL terminal
As far as I know, you cannot change at all the vscode terminal colors (neither on wsl) as those are defined at workbench.colorCustomisations setting.
These are the available customisation keys provided at VSCode Theme Color:
"workbench.colorCustomizations": {
"terminal.background":"#1D2021",
"terminal.foreground":"#A89984",
"terminalCursor.background":"#A89984",
"terminalCursor.foreground":"#A89984",
"terminal.ansiBlack":"#1D2021",
"terminal.ansiBlue":"#0D6678",
"terminal.ansiBrightBlack":"#665C54",
"terminal.ansiBrightBlue":"#0D6678",
"terminal.ansiBrightCyan":"#8BA59B",
"terminal.ansiBrightGreen":"#95C085",
"terminal.ansiBrightMagenta":"#8F4673",
"terminal.ansiBrightRed":"#FB543F",
"terminal.ansiBrightWhite":"#FDF4C1",
"terminal.ansiBrightYellow":"#FAC03B",
"terminal.ansiCyan":"#8BA59B",
"terminal.ansiGreen":"#95C085",
"terminal.ansiMagenta":"#8F4673",
"terminal.ansiRed":"#FB543F",
"terminal.ansiWhite":"#A89984",
"terminal.ansiYellow":"#FAC03B"
}
There is a good website with some color templates: VSCode Base 16 Themes