diff --git a/README.md b/README.md index 1c3f29c..2d1e7f5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,19 @@ ![logo][logo] +> It's the vim colorscheme we set that defines us. *(Batman)* + +Gotham is a **very dark** vim colorscheme. It works flawlessly with GUI vim +(MacVim and gVim) and it works on terminal vim with the proper terminal +emulator's colorscheme. + +![screenshot][screenshot] + + ## Installation +### In Vim + I moved to [vim-plug][vim-plug] a while ago and never looked back. Anyway, you can install Gotham with whatever package manager you use. For example: @@ -22,11 +33,27 @@ If you use pathogen, clone the repository inside `~/.vim/bundle`: If you don't use a plugin manager just copy the content of `colors/` to `~/.vim/colors`. +When you have the plugin installed, you can set it in your `vimrc`: + +``` viml +colorscheme gotham +``` + +### In the terminal + +As of now, the only supported terminal emulator is [iTerm 2][iterm2]. You can +find the Gotham colorscheme for iTerm 2 and its installation instructions in its +own [repository][iterm2-gotham]. + ## License -© 2014 Andrea Leopardi, see [LICENSE.txt][license-file] +MIT © 2014 Andrea Leopardi, see [LICENSE.txt][license-file] -[logo]: http://i.imgur.com/koUON2t.png "The logo" +[logo]: http://i.imgur.com/FDLEzHC.png +[screenshot]: http://i.imgur.com/NfRuHFN.png [license-file]: LICENSE.txt + [vim-plug]: https://github.com/junegunn/vim-plug +[iterm2]: http://iterm2.com/ +[iterm2-gotham]: https://github.com/whatyouhide/iterm2-gotham-colorscheme diff --git a/autoload/airline/themes/gotham.vim b/autoload/airline/themes/gotham.vim index 7697422..96f11d6 100644 --- a/autoload/airline/themes/gotham.vim +++ b/autoload/airline/themes/gotham.vim @@ -52,7 +52,7 @@ let g:airline#themes#gotham#palette.normal = " Overrides for when the buffer is modified in normal mode. let g:airline#themes#gotham#palette.normal_modified = { - \ 'airline_c': s:Array('base7', 'violet', '') + \ 'airline_c': s:Array('magenta', 'base1', '') \ } @@ -60,7 +60,7 @@ let g:airline#themes#gotham#palette.normal_modified = { " Colors. let s:I1 = s:Array('base7', 'yellow') -let s:I2 = s:Array('base6', 'base4') +let s:I2 = s:Array('base6', 'base3') let s:I3 = s:Array('base4', 'base1') let g:airline#themes#gotham#palette.insert = @@ -68,7 +68,7 @@ let g:airline#themes#gotham#palette.insert = " Overrides for when the buffer is modified in insert mode. let g:airline#themes#gotham#palette.insert_modified = { - \ 'airline_c': s:Array('base7', 'violet') + \ 'airline_c': s:Array('magenta', 'base1', '') \ } " Overrides for when the paste is toggled in insert mode. diff --git a/colors/gotham.vim b/colors/gotham.vim index dbfba1e..d29274a 100644 --- a/colors/gotham.vim +++ b/colors/gotham.vim @@ -145,6 +145,9 @@ call s:Col('StatusLineNC', 'base2', 'base2') " Matching parenthesis. call s:Col('MatchParen', 'base1', 'orange') +" Special keys, e.g. some of the chars in 'listchars'. See ':h listchars'. +call s:Col('SpecialKey', 'base4') + " Folds. call s:Col('Folded', 'base6', 'blue') call s:Col('FoldColumn', 'base5', 'base3') @@ -176,6 +179,19 @@ call s:Col('TabLine', 'base6', 'base2') call s:Col('TabLineSel', 'base7', 'cyan') call s:Col('TabLineFill', 'base1', 'cyan') +" Spelling. +call s:Col('SpellBad', 'base7', 'red') +call s:Col('SpellCap', 'base7', 'blue') +call s:Col('SpellLocal', 'yellow') +call s:Col('SpellRare', 'base7', 'violet') + +" Diffing. +call s:Col('DiffAdd', 'green') +call s:Col('DiffChange', 'cyan') +call s:Col('DiffDelete', 'red') +call s:Col('DiffText', 'yellow') + + " Programming languages and filetypes ==========================================