Minimal golang
colorscheme for Vim only for GUI version.
- Copy file
gomin.vim
into folder~/.vim/colors/
- Add next lines in
vimrc.vim
:
" ==== colorscheme ====
syntax off
syntax enable
hi clear
colorscheme gomin
" ==== Golang font ====
if has("unix")
set guifont=Go\ Mono\ Bold\ 10
elseif has("win32")
set guifont=Go_Mono:h9:cDEFAULT
endif
" =====================
- Install Golang font
- Download official fonts https://go.googlesource.com/image/+archive/master/font/gofont/ttfs.tar.gz
- Extract font files
tar -xvzf image-master-font-gofont-ttfs.tar.gz
- Click on ttf file to install respective font.
Example of view:
See file LICENSE (MIT).