Index

Pango 1.44 dropped support for bitmap fonts, this is a problem for me with my favorite font —Terminus— being a bitmap font. This means that Vim’s GTK front-end no longer works with Terminus.

To get around this I simply use Vim in with support for X11 clipboards in a terminal. Here’s the little script I put together to do this:

#!/bin/sh

# Void Linux vim command doesn't support X11 clipboards
if command -v vim-x11 > /dev/null
then
    readonly editor=vim-x11
else
    readonly editor=vim
fi

exec urxvt -fn 'xft:Terminus:size=18' -e "$editor" "$@"