Skip to content

Golang colorscheme for Vim, inspired by GitHub

Notifications You must be signed in to change notification settings

bitfield/vim-gitgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-gitgo

gitgo is a Vim syntax colorscheme, primarily for use with Go. It's inspired by the default GitHub theme for Go syntax, which is pleasantly minimalist and easy on the eye. It's usable both with light and dark backgrounds.

It looks like this with a dark background:

Screenshot

And like this with a light background:

Screenshot

(The font in the screenshots is Fira Code Light, with ligatures enabled.)

Installation

With Pathogen:

cd ~/.vim/bundle
git clone git@github.com:bitfield/vim-gitgo.git

Usage

In your ~/.vimrc:

autocmd BufNewFile,BufRead *.go colorscheme gitgo

Requirements

If you're using Vim in a terminal, you need a 256-color-capable terminal type, such as:

export TERM=xterm-256color

(If you use iTerm2, set your terminal type to xterm-256color in Preferences->Profiles->Terminal->Report Terminal Type.)

About

Golang colorscheme for Vim, inspired by GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published