vim-airline blocky in console - vim

I installed vim-airline (MacBook Pro running Yosemite) to use in Terminal.app (zsh + tmux). Here is how it looks, along with the relevant lines of my vimrc. I'm using Inconsolata-g-powerline. Any ideas on how to fix?
Screenshot:

Related

vim freezes when changing colorscheme

I start vim without custom config
vim -u NONE
Then, I call the colorscheme command to change the colorscheme, and vim simply freezes.
:colorscheme desert
It does not matter what colorscheme I specify, vim always freezes.
This happens on Mac OS only. I upgraded my macvim from 8.1 to 8.2, and I still see the freeze.
I don't think anything is wrong with my vim config since I am launching vim without custom config.
Any suggestions on how to either fix or debug the hang?
The issue is with Mac Terminal Itself. It used to freeze for me too but now I've switched from bash to zsh and everything works fine even for my Macbook Air 2017(8 GB) and on top of that I am using over 20 plugins which include a lot of linters and fixers.
Difference from bash to zsh is the reason that I am back to Vim again.
Also, if you have Catalina on your system, zsh is in there ,you'll just have to set it as default

Vim background colour is different

I'm using gVim 8.x 64-bit on Window 10 that I installed using chocolatey vim tux package.
Just recently I started getting these highlights when I open files.
I'm using solarized colorscheme. When I set the colorscheme manually, the highlights disappear.

How to make the gx command work for URLs in Vim on XFCE4 Desktop?

With GVim on my Windows 7 system, if I press gx while the cursor is on an URL, it launches the URL in Firefox (my default browser on Windows).
However, when I do the same on my XFCE4 Desktop on Debian 8.3 Linux system, pressing gx does nothing at all.
I am using GVim (Vim 7.4) on both systems.
The :let g:netrw_browsex_viewer command returns E121: Undefined variable: g:netrw_browsex_viewer on both systems.
I tried entering the :let g:netrw_browsex_viewer= "xdg-open" command on the Linux system, but it didn't help at all.
I have two questions:
Why does the gx command work for URLs on the Windows system but not on XFCE4 desktop on the Debian Linux system even though g:netrw_browsex_viewer is undefined in both?
How can I make the gx command work for URLs on XFCE4 desktop on the Debian Linux system?
Normally, the following command should work, and it does work when executing Vim 7.4.576 within Xfce terminal (xfce4-terminal 0.6.3).
:let g:netrw_browsex_viewer="xdg-open"
But the above command does not work in GVim 7.4.576 in Xfce 4.10 due to Bug 12251 - exo-open URL does nothing from gvim.
A workaround suggested by Christian Brabandt that works for me is the following.
:let g:netrw_browsex_viewer="setsid xdg-open"
I should read more carefully!!
You are using GVim. There is an open bug issue with the gx command with GVim using Xfce4. It doesn't look like it's been fixed. But from some discussions, it appears you can circumvent the issue by using:
let g:netrw_browsex_viewer="setsid xdg-open"

GUI applications messed up in Cygwin X

I have installed gvim, xinit, xorg-server in my cygwin installation.
When I start 'XWin Server' and then a Cygwin terminal (DISPLAY=:0.0), I am able to open gvim.
But the visual quality is pathetic. Characters appear half-rendered and choppy looking.
For example, the colorscheme command in gvim's command bar
[EDIT - Adding one more screenshot]
Looks like redrawing/rendering is the issue here. As I type in vim, the cursor 'imprints' are left behind on top of characters.
The font is Monospace 10 and font itself renders correctly.
Works fine for me with Monospace font.
Install some fonts and make your tests, gvim by default does not pull the installation of any font.

How can I use MacVim like gVim?

I'm trying to get a Mac Vim setup similar to my Windows gVim setup. I downloaded homebrew and installed Macvim with it, but when I run MacVim it comes up in a terminal and looks like regular Vim.
All I did in Windows was download gVim and I got some vimrc settings from a popular github repository so everything looks nicer and plugins were all set up for me. How can I achieve something similar with Mac?
I am relatively new to both Mac and Vim so help is appreciated.
MacVim comes with two executables: one is a regular windowed GUI application and the other is a command-line program. Both are bundled in the MacVim.app that you downloaded and installed in ~/Applications.
Double-clicking on the icon in the finder, clicking on the icon in the dock or choosing MacVim from the "Open with…" contextual menu should start the GUI.
Using someone else's setup is a very bad idea. Don't.

Resources