Vim color scheme does not cover whole background - macos

I'm using Zsh with agnoster theme and Vim.
When I try to change the color scheme of Vim, a bottom and left of screen are not applied by color scheme. First screenshot is before changing color scheme and the second id after changing color scheme. How can i fix this?

The left part is because that is the background of the LineNr column. You can change this with hi LineNr ctermbg=xxx.
The bottom is because vim isn't drawn in the whole screen in fullscreen mode. Unfortunately you can only fix this by changing the background in your terminal emulator's preferences to match vim's new background colour.

Related

Visual Studio 2019 Vertical Tabs Background Color

Anybody knows how to set the background for the vertical tabs?
I love that feature, but with my favourite theme you can't see squat...
...its gray on gray
I have the same problem. I wasn't able to find a way to change the background color, but at least I found a way to change the foreground color, so that at least the tabs become visible.
I have installed Color Theme Editor for VS 2019. It comes with many themes, which you can make a copy of, then edit the copy. In the color theme editor you must search for Document Well - Tab, then scroll to Unselected. Changing the background color here unfortunately only affects horizontal tabs, but changing the foreground do affects both horizontal and vertical tabs.
Here is a screenshot of the extension in action:
Don't forget to click on the "Save and apply theme" in the upper left corner of the extension page.

How to change terminal font color in PyCharm?

I want to set my terminal color scheme, such that I will have black text on light background (white or light yellow for example).
I changed "Console Colors" settings, such as Background, Standard output, and System output, under Editor > Colors & Fonts > Console Colors, but I keep running into the same problem.
If I change Background color to let's say white. It also changes text (Standard output and my user input to the same color). I can't figure out, which setting controls the color of the font, which appears in the terminal window. In fact, it appears that font color is the same as background color, which is confusing to me. I would expect to be able to independently control background color, and font color, which to me represents "Foreground".
<
Changing colour in
Preferences->Editor->Color Scheme->Console Colors->Standard Output
should change the terminal font's colour.
I suppose it happened on Windows. If yes then it is affected/controlled by Windows registry. Try one of the following method:
Open Windows cmd and from drop down menu selects defaults. Then change the Text and Background colors to match your choice in PyCharm. The problem occurs if you have different color settings in Windows cmd instead of default.
Delete HKEY_CURRENT_USER\Console key from Windows registry.
More information available on this link
To configure color and font scheme for consoles
Make sure you are working with an editable scheme.
Open the IDE Settings, and under Colors&Fonts, scroll through the list of components, and select the ones related to consoles:
Console Colors
Console Fonts
In the right-hand pane, click the desired component in the list, and change color settings and font type:
See Image of how to do it

change font color in evernote mac with automator

Can any one give some hints for a script that on a keystroke changes the font color in Evernote? I need to let's say, change the color beforehand. Like am writing and press a hotkey and then on, text is red... another keystroke black again. If I use the color picker I have to change colors after I wrote them.
Thanks
dan

In vim, syntax color of terminal and iterm are different

I'm new in vim setting T__T.
left is terminal display.
right is iterm2 display.
how to change the color in terminal to be like in iterm2
Thanks in advance.
Could you try to set background color light in both terminal and iterm?
In Vim,
: set background=light
or you can add
set background=light
in your .vimrc
Also, unchecking "Draw bold text in bright colors" might fix the issue.
Some vim colorschemes, including the default, take the terminal's color palette as default color values. However, if you use a colorscheme with full 256 color support, I believe there's a 256 colorscheme for the default as well, the issue disappears.
Here's a photo with desert (non-256) as a colorscheme between iTerm and Terminal:
And here's a photo with jellybeans (256):

Cursor lost in highlighted text - Vim

When text is highlighted in vim, for example using the 'em' tag when writing a HTML document, I find that in some color schemes the cursor becomes invisible, making it difficult to correctly place the closing tag. Is there a way to have the cursor change color over highlighted text?
Change color of cursor in gvim
Look at both answers sir, I think you'll have your answer in there....
You'd have to hook into the CursorMoved,CursorMovedI events and then determine the highlight group under the cursor with synIDattr(synIDtrans(synID(line("."), col("."), 1)), "name"). If it's one of those diffcult-to-see groups, you can issue a :highlight Cursor ... command to change it (or else change it back).
But this is rather complicated. Why don't you simply modify the colorscheme and choose a color that is easily recognized under all circumstances?! (The :hi command lists all colors and helps you choose one.)
This problem led me down quite a rabbit hole and caused me to learn a lot more about how syntax highlighting works than intended.
I learned that the reason my, supposedly italic, text was highlighted in the first place, is because the Mac terminal doesn't support italics ("Enabling italics in vim syntax highlighting for mac terminal")
I realised, thanks to "Colour colour everywhere! 256 colour-mode for Linux consoles", that due to the color profile I had chosen in Terminal's preferences, my "bright" and "normal" colors showed no difference, and for that reason my color profiles never looked like the screenshots.
And, finally, I solved my cursor getting lost problem by changing the cursor color in the Terminal preferences.

Resources