Vim is known as a potent editor full of features in a Linux terminal. Many Linux administrators prefer to edit the configuration files in an editor which provides some helpful features to get things done easily instead of just writing some text in any text editor.

When Linux server administrators spend a lot of time over the terminal or in the vim text editor managing and doing administrative tasks, they get fed up with watching the same terminal screen and fonts. For resolving this purpose, we can change some preference settings to customize the terminal settings. This post is all about how to change terminal settings and customize fonts according to our desire.

In this post, we will go through a couple of easy and quick methods to increase the font size and later learn the steps for customizing the font of the terminal lastingly.

Method 1: Using Keyboard Shortcut Keys

The quickest and easiest method is to change the font size in vim editor using the keyboard shortcut keys:

‘CTRL’ ‘SHIFT’ ‘ ’ for zoom in and increasing the font size

‘CTRL’ ‘-’ for zoom out and decrease the font size

This way, you can quickly zoom in on the terminal and have a clear view of the terminal. However, this change of font size is tentative because when you close the terminal, the terminal will revert back to its original default settings.

To change the font size and some other settings permanently, follow the steps provided below:

Step 1: Open Terminal Preferences

First, open the terminal’s preferences to alter the terminal’s font size.

Open the preferences either by clicking on the hamburger option, and from the menu, click on the preferences option.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/1-1.png" data-lazy- height="526" src="data:image/svg xml,” width=”791″>

Or right-click anywhere in the terminal and click on the preferences option from the context menu.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/2-1.png" data-lazy- height="526" src="data:image/svg xml,” width=”779″>

You will have a preference window like this.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/3-1.png" data-lazy- height="624" src="data:image/svg xml,” width=”804″>

The preference window allows us to have customized preferences and save them. So, this is why you are seeing the default “unnamed” profile name at the top bar of the preference window.

Step 2: Enable Font Customization

Once you have opened the terminal’s preferences window, ensure that you are in the text tab as shown in the picture provided below:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/4-1.png" data-lazy- height="624" src="data:image/svg xml,” width=”798″>

In the text tab, click on the “custom font” check box to enable the font customization and alter the font style and font size.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/5-1.png" data-lazy- height="624" src="data:image/svg xml,” width=”802″>

Step 3: Change Terminal Font

Now, you can see that the font name and font size option have become editable. Just click on the “font-size” input field and another little window will open up.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/6.png60bf2fe5a0dd7.jpg" data-lazy- height="532" src="data:image/svg xml,” width=”461″>

In this small window, you can search for the font of your choice and make it the font of your terminal.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/7.png" data-lazy- height="518" src="data:image/svg xml,” width=”452″>

In the bottom section of the window, you have a slider to change the font size or you can also directly provide the font of your choice in the input field next to the slider.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/8.png" data-lazy- height="522" src="data:image/svg xml,” width=”463″>

Step 4: Save the Settings

After choosing the right font and font size, do not forget to click on the Select button in the window’s top right corner.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/9.png" data-lazy- height="522" src="data:image/svg xml,” width=”456″>

Once you are back in the preference window, just close the preferences window to save the settings.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/10.png" data-lazy- height="628" src="data:image/svg xml,” width=”806″>

When you get back to the terminal, you would have the changed font and font size of your choice.

Conclusion

This is how easy and simple it is to change the Terminal font and font size in Vim and have the font size and style of our choice. This post contains two methods; one is to quickly increase the font size and the other is to change the preferences of the terminal to change the font size permanently. By just following the simple steps provided in this post, any Linux beginner can change the terminal font size in Vim.