Questions tagged [font]
The font tag has no usage guidance.
66
questions
0
votes
0
answers
47
views
Certain Nerd Fonts does not display properly
On my Mac (M1), I am not able to get the symbols display properly with all Nerd Fonts excepting one
I have installed Nerd Fonts as described in the documentation. Typically I use homebrew or have ...
1
vote
1
answer
25
views
How to use different font size for different highlight group?
There is a similar question gVim - Use different fonts using :highlight but no answer yet.
In short, is it possible to apply different font size to different highlight group?
For example, while normal ...
1
vote
1
answer
128
views
How can I debug a nerd font not working on Windows + Neovim?
I am on Windows using AstroNvim.
On other machines and installs, merely installing my nerd font is enough to make it work but this time and installation, all icons stay blank.
What steps can I take to ...
1
vote
1
answer
98
views
Devanagari in Neovim
It is an old issue, that Vim is not able to correctly display Devanagari (Sanskrit) ligatures as it is non GUI (emacs, gedit do well). In different forums it was discussed in the past (mostly before ...
0
votes
1
answer
204
views
Vim to Neovim switch Airline Nerd Font not recognised
I am using Vim with airline for many years. Today I decided to test NeoVim.
While in Vim the airline with my Nerd Font works great, in NeoVim it seems to ignore the Nerd Font. NeoVim doesn't display ...
0
votes
1
answer
109
views
How to save underlined text in Vim?
Ultimate goal is using underlined text in VIM (with st terminal).
At this point I cannot paste underlined text in the st terminal (or VIM with st terminal). And text from text files with an underline ...
2
votes
0
answers
156
views
Cannot set guifont or guifontwide to installed font
OS and desktop environment info:
uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
sudo dpkg -s lxde | grep Version
Version: 11
sudo dpkg -s lxappearance | ...
0
votes
0
answers
88
views
Set fallback font in gvim
gVim provides an option, :h guifont, to set the font of the gui window. Although it accepts a comma-separated list of fonts, it selects the first available font. If a symbol doesn't exist in the ...
1
vote
0
answers
85
views
font size for specific file type
this guy explains how to make a slide presentation in vim: "Giving a Text Based Slide Presentation in Vim without Plugins" https://invidious.osi.kr/watch?v=7fIR55kkTwc
he defines file type ....
0
votes
0
answers
110
views
the font changes when I change font size in gVim
I am sorry if this is a dumb question, I am a beginner in vim.
I am trying to change my font size in gvim, I tried using set guifont=*, but only two sizes appears on the list 7 and 11 , and typing any ...
1
vote
0
answers
90
views
Vim interpretation of Unicode Private Use Areas and fallback fonts
If I download this file and open it with GVim, here is what I see:
Now put the cursor on the "2" of "29" (after "Received" and before "December") and press g8.
...
3
votes
1
answer
352
views
Display superscript of multiple characters to express a mathematical exponent
If in Vim I type CTRL-K followed by 1 and S, I can get a superscript such as 10¹.
How though do I write something like 10 to the power of 18?
Further info
I ask this on the assumption that there must ...
0
votes
0
answers
56
views
How to get syntax group name of a floating window
I would like to change the font from bold to normal in my floating windows in Vim 8.*
I have this script here that gets the syntax group name of the item under cursor. However, this will not work for ...
0
votes
0
answers
1k
views
Increment or Decrement font in a neovim GUI?
I have crawled around forums and didn't found an answer which suits my needs. I want to use Neovim in a GUI, but not being able to change the font size on the fly with a keypress is a complete ...
1
vote
0
answers
249
views
gvim vs. xterm: what's wrong with my guifont?
The 10x20 is the (alias for) font I use with xterm -- and I like it. Both for shell-commands and vi/vim.
Yet, when I use the :set guifont=10x20, I get "w i d e l y" spaced characters for ...
2
votes
0
answers
173
views
Minimum window width will not change when using specific filetype
With most filetypes, I can resize font and my GVIM application window just fine. However, when I open a specific file type (.tex), the font is easily changed, but I am unable to shrink the application ...
0
votes
1
answer
1k
views
changing fonts in vimrc
The last pic is the info I got from Hacking Vim. How do I solve the error - the top pic is my vimrc.
1
vote
2
answers
497
views
How to get emoji completion in markdown with `:<emoji>`, using neovim and coc
I'm sure that I've seen it so that one is able to use :<emoji and there's a pop up menu to select from, I can't seem to get this working though.
I tried installing: https://github.com/junegunn/vim-...
1
vote
1
answer
1k
views
changing font size leaves white bars in gvim
I wanted an easy way to resize the font in gvim (GTK), so I found this post:
Quickly switch between fonts at runtime
I created the following bindings based on that post:
let g:fc_list = [
\ ...
2
votes
0
answers
137
views
Tell vim to treat character as full width
I am wondering if it is possible to tell vim to treat an individial code point in the unicode plain. I am aware of the ambiwidth option, but it does not help with my current task because the relevant ...
3
votes
1
answer
2k
views
How to change font style in Linux terminal?
I know this question has been asked many times, but what I've noticed is that the majority of them seem to be for gVim or Vim for Windows rather than Linux command line Vim.
I'm just wondering how I'...
4
votes
0
answers
682
views
Why does Gvim not see my X11 fonts?
After going blind from using Gvim with non-bitmapped fonts, I tried to narrow my question from the previous attempts (1) and (2) (with older attempts going back years). Specifically, I wanted to find ...
1
vote
1
answer
202
views
Choose Gvim font that maps pixel-to-pixel with display?
I recently bought a Windows 10 laptop, TravelMate P2410-G2-M. The resolution is set to the native physical resolution of the display.
However, my Gvim text displays with some pixel columns/rows ...
0
votes
0
answers
77
views
select font for tab headers in gvim
I wonder whether there is a way in gvim to select the font used for buffer names in tab headings (after using :tabnew). I know the guifont option, but this applies to the buffer editing area.
...
2
votes
1
answer
2k
views
Where does gVim find font options for its `guifont` pick list?
In gvim, :set guifont=* brings up a GUI panel from which one can choose a font family, weight, slant, and size. Where does gVim find these fonts?
I'm using Cygwin's X-windows. While the scheme for ...
1
vote
0
answers
1k
views
gvim: List all options for guifont as text?
I know that I can use the GUI to navigate to the panel for setting guifont, and I can also issue :set guifont=*.
Is there a way to list all options as text?
I would like to capture them in a ...
1
vote
0
answers
383
views
gVim 8.2, display problem
I have a weird problem with VIM, both at work and at home (2 different computers):
When I open a text in VIM, sometimes it is displaying it correctly, sometime not (I'd say 1 every 3 it works fine, ...
4
votes
6
answers
7k
views
Settings for the font in .vimrc are not working
Following the answers in I have tried many varieties of setting the font size and face in ~/.vimrc . None of them have any effect
set guifont=Menlo:h12
set guifont=Monaco:h12
set guifont=Menlo\ ...
0
votes
0
answers
126
views
Some of unicode characters doesn't work in vim
I am using vim8 on windows 7. The problem is what whenever I try to paste a unicode character from somewhere else it doesn't work instead it shows. For example when I try to enter ⇛ It shows a ...
5
votes
1
answer
806
views
Discover which fallback font was used in gvim
My &guifont is set using let &guifont="SauceCodePro NF 11,Source code pro 11".
Calling set guifont? returns the full option, guifont=SauceCodePro NF 11,Source code pro 11.
Is there a way to ...
1
vote
0
answers
349
views
Terminus font broken in gVim on Fedora 31
I have just upgraded to Fedora 31 and see that my gVim with Terminus 12 font looks like this:
Resetting the guifont option gives me a reasonable looking gVim back. How can I further diagnose this ...
1
vote
2
answers
1k
views
Font on Mac Catalina
I just now upgraded to Catalina on Mac (10.15) and immediately ran into an odd font behavior: when I open a file with MacVim (8.1.1722 (157)), the letters with tails (g, y, p...) have their tails cut ...
2
votes
1
answer
5k
views
How can I look up the current/default guifont reliably?
I'm trying to configure my guifont and I'd like to see the current setting so I can e.g. keep the same font but change the size. Is there a way to check the current font that works reliably, even if ...
1
vote
0
answers
120
views
gvim adds one extra pixel spacing after each character?
For some reason, gvim is adding one extra pixel of spacing after each character. It almost seems similar to this question, but in my case gvim does use the correct font.
I compared the same font in ...
8
votes
0
answers
454
views
gVim - Use different fonts using :highlight
I want to set gVim font size for Comment highlight group. When I set it, it does not do anything (the font is still the same but color changes).
My .gvimrc:
se guifont=Fira\ Mono\ Regular\ 10
hi ...
0
votes
1
answer
4k
views
Setting default gVim font via `vimrc`, conditional on the operating system
I can place the following code into my _vimrc file on Windows 7/10 and the font will default to 'Consolas - size 11' when I launch gVim.
if has("gui_running")
if has("gui_gtk2")
set guifont=...
1
vote
1
answer
513
views
Requesting aliased :guifont rendering on Windows
Non-AA font rendering seems available everywhere except for Windows.
In MacVim, this is possivle via noantialias.
When using GTK2 front-end, the same can be achieved by adding antialias=false to the ...
2
votes
1
answer
273
views
How to make vim display ZWNJ characters correctly?
When I insert a ZWNJ character into text, vim displays <200c> instead of it.
Is it possible to make vim to behave normally with this character, like GUI editors? Or is it possible to hide (and ...
2
votes
1
answer
343
views
How to deal with accented latin characters on neovim
I'm trying to find out how to configure neovim in order to edit texts with accented latin characters. I usually set ambiwidth to double so Jananese symbols are displayed properly, but then neovim ...
2
votes
0
answers
99
views
Does Windows GUI Vim perform font substitution for glyphs unavailable in current font?
MacVim's documentation specifically (if obliquely) mentions font substitution, and I've found evidence online that GTK2 gVim does it too.
But does Windows gvim?
N.B. I'm already aware of the '...
7
votes
0
answers
718
views
Unreadable display of Tamil characters in Vim
gVim seems to have problems displaying text in Tamil (and possibly other Indic languages), even when the font supports it. For eg., here's some text in Emacs and the same text in gVim (both under ...
0
votes
2
answers
750
views
Set gui's font in win7
For debian9, the setting in .vimrc take effect for gvim.
set guifont=Bitstream\ Vera\ Sans\ Mono\ 14
For win7,the setting in _vimrc take no effect for gvim at all.
I open gvim in my win7,
:set ...
0
votes
2
answers
3k
views
powerline font/symbol glitches
I'm new to vim and recently installed powerline plugin. I absolutely love using powerline with vim, but the symbols are not properly rendered. And I suspect I missed something here, can anyone help ???...
0
votes
1
answer
1k
views
gvim looks terrible on my RedHat. Unable to change font
When running gvim on my RedHat:
Linux trex-06 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
ID=...
3
votes
0
answers
3k
views
Getting ligatures to work outside of comments
I'm playing around with Fira-Code and am having a weird issue with its ligatures. They seem to only work within the comments and not within my actual code.
I have no idea what's causing this or how ...
8
votes
1
answer
29k
views
Change a font in Vim/GVim in a simple way
I merely want to change a font in Vim/GVim. That's it. This doesn't work:
font=Monaco\ 14
I've done a google search and I wonder, why is for such a elementary task there's no simple answer which ...
2
votes
1
answer
227
views
Some umlauts and extended Latin characters are shown as fullwidth
In Vim, I find each of ü and ß takes up fullwidth, i.e. twice as fat as ASCII characters.
I am writing some German-learning notes, and find this to be very confusing, since I have been mistaken that ...
1
vote
0
answers
302
views
Sign column font is cut off
I have an issue where the signs in my sign column are cut off in the middle (screenshot below).
Changing the Guifont or the font size doesn't seem to matter. It looks fine in terminal neovim.
I am ...
5
votes
1
answer
352
views
Vim and gVim in Windows doesn't recognize Mongolian letters Өө and Үү
I'm trying to open and edit files with Mongolian text, written in Mongolian Cyrillic. In the cmd terminal and in powershell terminal if I choose Consolas font, everything is ok with Mongolian Cyrillic,...
8
votes
2
answers
3k
views
gvim window looks bad
I don't know why my gvim windows looks like this in linux. Is there anything I need to add to my vimrc file in addition to this?
execute pathogen#infect()
syntax on
filetype plugin indent on
set ...