• Stars
    star
    102
  • Rank 323,055 (Top 7 %)
  • Language
    Vim Script
  • License
    Other
  • Created over 11 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Base16 for Vim

Base16 Vim

See the Base16 repository for more information.
This theme was built with Base16 Builder PHP.

Supports graphical Vim and console Vim.

Base16 Vim

Terminal Themes

For terminal Vim (non-gui) please ensure you are using a base16 terminal theme.

Installation

Add colorscheme base16-default-dark to your ~/.vimrc.

Vundle

Add the following to your ~/.vimrc file and run PluginInstall in Vim.

Plugin 'chriskempson/base16-vim'

vim-plug

Add the following to your ~/.vimrc file and run PlugInstall in Vim.

Plug 'chriskempson/base16-vim'

Pathogen

cd ~/.vim/bundle
git clone https://github.com/chriskempson/base16-vim.git

Manual

cd ~/.vim/colors
git clone https://github.com/chriskempson/base16-vim.git base16
cp base16/colors/*.vim .

256 colorspace

If using a Base16 terminal theme designed to keep the 16 ANSI colors intact (a "256" variation) and have sucessfully modified your 256 colorspace with base16-shell you'll need to add the following to your ~/.vimrc before the colorsheme declaration.

let base16colorspace=256  " Access colors present in 256 colorspace

This will cause vim to access the colours in the modified 256 colorspace. Please do not enable this simply because you have a 256 color terminal as this will cause colors to be displayed incorrectly.

Troubleshooting

There is a script to help troubleshoot colour issues called colortest available in the Base16 Shell repository.

If you are using a ISO-8613-3 compatible terminal ( vim docs, neovim docs), and you see a green or blue line, try to enable termguicolors:

set termguicolors

Green line numbers

green line numbers screenshot

If your Vim looks like the above image you are using a 256 terminal theme without setting let base16colorspace=256 in your ~/.vimrc. Either set let base16colorspace=256 in your ~/.vimrc or use a non 256 terminal theme.

Blue line numbers

blue line numbers screenshot

If your Vim looks like the above image you are setting let base16colorspace=256 in your ~/.vimrc but either not running Base16 Shell or Base16 Shell is not working for your terminal. Either ensure Base16 Shell is working by running the colortest available in the Base16 Shell repository or not setting let base16colorspace=256 in your ~/.vimrc.

Customization

If you want to do some local customization, you can add something like this to your ~/.vimrc:

function! s:base16_customize() abort
  call Base16hi("MatchParen", g:base16_gui05, g:base16_gui03, g:base16_cterm05, g:base16_cterm03, "bold,italic", "")
endfunction

augroup on_change_colorschema
  autocmd!
  autocmd ColorScheme * call s:base16_customize()
augroup END

More Repositories

1

tomorrow-theme

Tomorrow Theme
CSS
13,602
star
2

base16

Not a theme, but a framework
404
star
3

vim-tomorrow-theme

Tomorrow Theme for Vim
Vim Script
281
star
4

base16-shell

Base16 for Shells
Shell
103
star
5

textmate-tomorrow-theme

59
star
6

base16-schemes-source

42
star
7

base16-templates-source

A common list of templates for base16-builders
39
star
8

japanese-subtitles-word-kanji-frequency-lists

A word frequency list derived from subtitles from Japanese drama, anime and films.
27
star
9

portable-humble-little-ruby-book

Mr. Neighborly's Humble Little Ruby Book in ePub and Mobi Format
23
star
10

jekyll-emoji

A jekyll plug-in that provides a Liquid filter for emojifying text with https://github.com/github/gemoji. See http://www.emoji-cheat-sheet.com for a full listing of emoji codes.
Ruby
22
star
11

netflix-study-assist

Helps studying a language with Netflix (especially Japanese).
JavaScript
18
star
12

coda-textMate-theme

A TextMate Theme
17
star
13

base16-default-schemes

The default set of original base16 colours
14
star
14

netcrafter

Minimalist, handcrafted, optionally static, HTML websites.
PHP
14
star
15

anime-dl

Download Japanese media with Japanese subtitles
PHP
14
star
16

bushu-anki-deck

Forget the Kanji, remember the Radicals!
14
star
17

base16-builder-php

A PHP implementation of a Base16 Builder
PHP
10
star
18

base16-iterm2

Base16 for iTerm2
9
star
19

tmux-session-manager

Tmux Session Manager in Ruby
Ruby
7
star
20

cpp-connect-four

A game of Connect Four created in C++ with (SDL) Simple DirectMedia Layer.
C++
6
star
21

base16-textmate

Base16 for TextMate & Sublime
Mustache
6
star
22

Ditz-for-Ruby-1.9.2

Just Ditz 0.5 with a few tweaks for Ruby 1.9.2
Ruby
6
star
23

cpp-tic-tac-toe

A game of Tic-Tac-Toe created in C++ with (SDL) Simple DirectMedia Layer.
C++
5
star
24

windows-capslock-key-japanese-input-toggle

Toggle Japanese input with the Caps Lock key and a non-Japanese keyboard
4
star
25

wordpress-editables

Editable Areas for WordPress Developers
PHP
4
star
26

base16-templates

4
star
27

panelsort

A jQuery plugin for sorting elements through a dynamically generated overview panel
JavaScript
3
star
28

erin-dl

Download videos and subtitles from https://www.erin.ne.jp/
PHP
3
star
29

textmate-project-rsync

Texmate Project Rsync
2
star
30

base16-unclaimed-schemes

A collection of themes that have no repositories for homes :(
2
star
31

base16-html-previews

HTML Previews for base16
HTML
2
star
32

kogata

A PHP 5 Gluing Framework
PHP
1
star
33

base16-language-examples

Code examples for scheme and template authors
HTML
1
star
34

php-class-loader

A lightweight class loader that conforms to the PSR-0 standard
1
star
35

os-x-palette-tomorrow-theme

1
star
36

iterm-2-tomorrow-theme

Tomorrow Theme for iTerm 2
1
star
37

base16-builders

1
star
38

retimed-japanese-subtitles

Just a few Japanese subtitles I have retimed.
1
star