[CentOS] GVIM annoyances

Fri Nov 6 14:34:06 UTC 2020
Stephen John Smoogen <smooge at gmail.com>

On Fri, 6 Nov 2020 at 06:11, Gary Stainburn <gary.stainburn at ringways.co.uk>
wrote:

> I've just upgraded from my old F9 box to C7, which of course means lots
> of changes.  However, the ones are are annoying me most are with VIM.
>
> No matter what I do I can't get  gvim to open in a reasonable size. I
> have a dual headed setup (laptop + external) and every time gvim opens
> it takes up both screens.
>
> I've tried a few suggestions including the one below without success.
> In fact this one causes X to crash when I start gvim.
>
> The second problem I have is the selection of the font.  My old box had
> "sans Regular 12" which was a lovely font to work with. However, when I
> choose the same font on the new box it's hideous. I don't know best how
> to request this, but basically how can I have my nice old font back?
>
>
sans Regular 12 is not a real font, but a 'link' to whatever was set as the
default Sans font of the system. I don't know if you ever changed it and
Fedora 9 is equivalent to something between ~CentOS-5 and CentOS-6. There
aren't a lot of fonts by default in 9 so a lot of systems would get extra
ones.. you will need to look at the backups of what you had on the system
to determine what was being used.  I am expecting it might have been dejavu
font but if you installed Windows TTF fonts as was common then it would be
those.

HOWEVER, a different issue is that you are still using those older fonts if
they were in your .fonts directory. The older fonts use a different
'hinting' system which when viewed on a newer X/Wayland makes the font look
horrible. Since I have been bitten by this with other people I would check
that also.



> |if has("gui_running") " GUI is running or is about to start. " Maximize
> gvim window. set lines=999 columns=999 else " This is console Vim. if
> exists("+lines") set lines=50 endif if exists("+columns") set
> columns=100 endif endif |
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.