You are not logged in.
Hi, I need your help! I am trying to set up a specific font and font size in my ~/.vimrc file using
set guifont=Monospace:h15
command, but nothing is changing no matter if I put 12 or 20 in the size column. I've tried several fonts also, but it seems like changes just not apply - after writing the file and reopening it, size of the font and the font itself stays the same. Also
:set guifont=*
command doesn't show me anything. Here is my .vimrc file:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'nyngwang/nvimgelion'
syntax on
set termguicolors
set guifont=Monospace:h20
call vundle#end()
filetype plugin indent on
au BufNewFile, BufRead *.py
\ set tabstop=4
\ set softtabstop=4
\ set shiftwidth=4
\ set expandtab
\ set autoindent
\ set fileformat=unix
set laststatus=2
set wrap
set encoding=utf-8
vnoremap <C-c> :w !xclip -i -sel c<CR><CR>
How to set up a specific font in my Vim configuration file? Thank you for your help.
Last edited by Ep19Sc0NGE (Yesterday 06:25:02)
Offline
vim runs in your terminal so just uses your terminal font. `guifont` sets the font for gvim so your setting should work there.
Offline
Yeah, thank you very much, now i understand that.
Offline