vim powerline doesnt shows fonts in gVim - vim

I installed powerline and downloded all the fonts. Configured _vimrc to the font FiraMono and it worked but I can't change the font into nothing else
I installed RobotoMono in my windows But I cant set my gVim into RobotoMono font.
When I edit _vimrc into RobotoMono then airline status bar goes weird and font become Fixedsys My _vimrc screenshot
I am using gVim on windows searched for solution but nothing worked.

When GUI font becomes fixedsys on gvim, it means gvim cant find the font you specified (in this case, RobotoMono); so it fallbacks to its default font thats fixedsys and of course unpatched fixedsys is not contain fancy powerline symbols and as the result, airline statusbar becomes weird.
As you noted your patched FiraMono font works, the problem seems to be with font name that you are entered in your vimrc so first from gvim menu go to: Edit > Font > show more fonts and from there select the RobotoMono font that you Installed, after selecting that font a name will appear underneath dropdown list; thats the right name you should enter in your vimrc file. By the way i have got these patched fonts installed and the names are:
Roboto Mono for Powerline
Roboto Mono Light for Powerline
Roboto Mono Medium for Powerline
Roboto Mono Thin for Powerline
AND do not forget to scape spaces in them with \
P.S. You dont need let g:Powerline_symbols="fancy" in your vimrc.

Related

sublime text: How do I know what font (or font string) to use when configuring font_face setting?

The question applies to both windows and Macs. But I'm on an iMac at the moment so I can only test on a Mac.
I installed the mononoki Nerd Font.
In Font Book/Microsoft Word/Textedit (which is like a macOS Wordpad equivalent), the font is called “mononoki Nerd Font Mono”.
As a test, I tried setting my font_face to these and it's not working:
- "font_face": "mononoki Nerd Font Mono"
- "font_face": "mononoki Nerd Font Mono Regular"
and no change on my display. The text looks the same with and without the line above.
Thanks.
in Windows you can open fonts settings and search for your font, and there are two things:
Font Family
Font Face
eg. I want a font called fira code retina, which is in fira code font-family so I'll search for it in fonts settings:
Now the font-faces which comes under this family will be listed below:
Then you can select the font family name and get all the details of it.
You can use Settings in Sublime Text like so:
Then, change the user settings like so with font_face property:
Save the preferences and see if that changes your font. In the above example, I have chosen American Typewriter as the font_face and the effect is noticed upon save.
Give that a shot.

Vim Solarized Theme black space

I have the solarized theme working in a terminal vim session. It looks great at first until you move off page and black space appears. If you then scroll back up the black space is also in the originally colored areas... The colors do not change if you use page up page down, only j,k
What the error looks like:
You do not have the the solarized dark theme working in your terminal Vim session. I can tell because your background is black/dark gray. The solarized dark background is dark blueish.
To get the solarized colorscheme to work properly within your terminal emulator you have to change the color settings of your terminal emulator to solarized.
How to do so depends on which kind of terminal emulator you use. With gnome-terminal, you can set the colors to solarized this way: Edit - Profile Preferences - Colors - Palette - Builtin schemes: solarized. For other terminal emulator use Google to figure out how to change the terminal emulator color.
Note that this of course also changes the colors displayed in your normal shell - but this is necessary and advised.
The problem was caused by the Background Color Erase of the terminal
fixed by adding the line
set t_ut=
see for further details
further details

solarized theme in vim (and MATE Terminal?) doesnt work properly

I just downloaded the solarized theme for vim and for the mate terminal and am now desperately trying to set them up.
I've kinda got the light theme on MATE Terminal running (as stated in the description of solarized theme the dark theme is work in progress) but don't see any other colors then the normal text color and am now wondering if this is as intended (and how to properly test this)...
In vim I'd like to run the dark theme, but if I do as described on the page (https://github.com/altercation/vim-colors-solarized) it doesn't work. I just get results like this:
http://s12.postimg.org/51e9g7uvh/Selection_001.png
Im kinda new to linux so I'd appreciate any help :)
As ryuichiro suggested: Ubuntu, vim, and the solarized color palette

Powerline on Mac OS X not working as expected

as the image shows , after installing the powerline for vim, some symbols are not working.
For searching google i thought there maybe problems with the patch fonts. But after trying i cannot solve this problem. Could someone help me?
Environment: Mac OSX 10.8.2, iTerm2.
--For all the noobs, with attention deficit, like my self.
I had the same issue, the solution was much more basic than than installing the fonts, but was not mentioned anywhere else: manually setting the fonts in your terminal (still need to make sure you have the fonts installed).
In iTerm2: iTerm > preferences > profiles > text > Regular font & non ASCII font.
In Terminal : Terminal > preferences > profiles > text > fonts
See “Custom font not working for iTerm2.” issue.
Install powerline-shell fonts and change in your iTerm2 the text's setting with Inconsolata font for exemple.
For me this vim config solved the problem:
g:Powerline_symbols = 'unicode'
In some cases it could also be needed:
set t_Co=256
iTerm2 -> Preferences... -> Text -> Font & Non-ASCII Font -> Choose Inconsolata for Powerline
Since you are on iTerm 2, make sure you go into your settings and set both the regular font and the non-ascii font to powerline compatible fonts or the prompt separators and special characters will not display correctly as it is happening in your case.

OSX vim background getting overridden by terminal background

I'm using vim 7.3 in Lion OSX.
Whatever theme I have tried to apply retains the terminal's background color, which in my case I've set as Silver Aerogel theme.
Curiously, using the theme Zenburn works but breaks after awhile resulting in something that looks like the attached image. In my vimrc, I have this set set t_Co=256. My vimrc file: http://dpaste.com/699961/
Help guys?
I used to have this problem... Then I learned that color schemes designed for gvim or macvim are not necessarily compatible in a 256 terminal. If it wasn't designed for a 256 color terminal, try the csapprox plugin. (csappox description)

Resources