Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 129542  / 1 Year ago, wed, may 10, 2023, 1:18:16

I write C programs in Vim; the font size in it is very small.



Is there any option to increase the font size in Vim?


More From » fonts

 Answers
0

According with http://vim.wikia.com/wiki/Change_font:



Console Vim uses whatever font your console/terminal is using. [...]


When running inside a terminal, Vim can, at most, change the colours (within the limits of the colours supported by the terminal: sometimes bold and unbold black and white, often 8 colours plus bold/unbold foreground only [or seen another way, 8 background and 16 foreground]; on X11 some terminals support up to 256 background and foreground colours; "changing colours" usually also includes the use of reverse-video), and, if the terminal supports them (not all terminals do, and even those which do may support it only with certain fonts), use bold, underline and/or italic.



That being said, if you want to change the font size in Vim editor, you have to change the font size of your terminal. To do this in gnome-terminal go to EditProfile Preferences:


Profile Preferences


Moreover, you can save these preferences in a new terminal profile and when you are start using Vim, use that profile.


[#28845] Wednesday, May 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anxietunnel

Total Points: 66
Total Questions: 120
Total Answers: 115

Location: Norway
Member since Sat, Mar 4, 2023
1 Year ago
;