• Stars
    star
    1,215
  • Rank 37,008 (Top 0.8 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created over 9 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

Code never sleeps in Gotham City. ๐ŸŒƒ

Logo

It's the colorscheme we set that defines us. โ€”ย (Batman)

Gotham is a very dark vim colorscheme. It works on GUI vim (MacVim or gVim) and on terminal vim. For terminal vim, there's support for a lot of terminal emulators in the gotham-contrib repository.

Screenshot of the color scheme

Installation

I moved to vim-plug a while ago and never looked back. Anyway, you can install Gotham with whatever package manager you use. For example:

" vim-plug
Plug 'whatyouhide/vim-gotham'
" NeoBundle
NeoBundle 'whatyouhide/vim-gotham'
" Vundle
Plugin 'whatyouhide/vim-gotham'
" dein.vim
call dein#add('whatyouhide/vim-gotham')

If you don't use a plugin manager just copy the content of vim/colors/ to ~/.vim/colors.

When you have the plugin installed, you can set it in your vimrc:

colorscheme gotham

Terminal vim and 256 colors version

If you want to use Gotham in terminal vim, you should consider setting Gotham as the colorscheme of your terminal emulator too. See the relevant section.

If you're fine with not-so-faithful colors, a 256 colors version of Gotham is available. To use it, just replace gotham with gotham256 in your vimrc:

colorscheme gotham256

Using gotham256 (given that your terminal supports 256 colors) ensures that the colors in vim are fixed and don't depend on the colorscheme of the terminal emulator.

Please, use the 256 colors version only if you know what you're doing since it looks "rougher" than the regular version.

Airline

Gotham supports vim-airline out of the box. When you use the Gotham colorscheme, Airline should be able to pick it up and use it. If you want to set it manually, you can use the AirlineTheme command for both the regular version and the 256 colors version:

:AirlineTheme gotham
:AirlineTheme gotham256

Gotham by default emphasises the usage of insert mode by using a distinctive bright yellow color in the airline mode segment. To change the color used for insert mode to a darker less emphasised color add the following to your vimrc:

let g:gotham_airline_emphasised_insert = 0

Lightline

Gotham supports lightline.vim too. To enable the colorscheme, add one of the following lines to your .vimrc:

let g:lightline = { 'colorscheme': 'gotham' }
let g:lightline = { 'colorscheme': 'gotham256' }

Other

Gotham is available for other platforms too. If you want terminal vim to look as good as GUI vim, you have to install the Gotham colorscheme for your terminal emulator too.

An up-to-date list of supported platforms as well as installation instructions for each of those platforms are available at the gotham-contrib repository.

There's an Emacs version too, but I don't maintain it.

Color Palette

Color Base Hex Other Colors Hex
Base 0 #0c1014 Red #c23127
Base 1 #11151c Orange #d26937
Base 2 #091f2e Yellow #edb443
Base 3 #0a3749 Magenta #888ca6
Base 4 #245361 Violet #4e5166
Base 5 #599cab Blue #195466
Base 6 #99d1ce Cyan #33859E
Base 7 #d3ebe9 Green #2aa889

Contributing

All forms of contribution are welcome: bug reports, bug fixes, pull requests and simple suggestions. Thanks!

List of contributors

You can find the list of contributors here.

License

MIT ยฉ 2014 Andrea Leopardi, see the license.

More Repositories

1

redix

Fast, pipelined, resilient Redis driver for Elixir. ๐Ÿ›
Elixir
1,062
star
2

stream_data

Data generation and property-based testing for Elixir. ๐Ÿ”ฎ
Elixir
834
star
3

corsica

Elixir library for dealing with CORS requests. ๐Ÿ–
Elixir
513
star
4

xandra

Fast, simple, and robust Cassandra/ScyllaDB driver for Elixir.
Elixir
378
star
5

gotham-contrib

Ports of the Gotham colorscheme for common editors and terminal emulators ๐ŸŒƒ
Shell
242
star
6

guide_async_processing_in_elixir

A Livebook-based guide to async processing in Elixir. ๐Ÿƒ
127
star
7

vim-lengthmatters

Highlight the flooding part of an overly long line ๐Ÿ“
Vim Script
82
star
8

short_maps

โš ๏ธRetiredโš ๏ธ library that provided a ~m sigil for ES6-like map destructuring in Elixir.
Elixir
76
star
9

vim-textobj-xmlattr

A vim text object for XML/HTML attributes.
Vim Script
74
star
10

saul

Data validation and conformation library for Elixir.
Elixir
67
star
11

redix_pubsub

Deprecated Redis Pub/Sub client for Elixir. Now built-in into Redix.
Elixir
63
star
12

protohackers_in_elixir

Code for a video series I'm making on solving protohackers.com challenges in Elixir. ๐Ÿ“บ
Elixir
55
star
13

plug_heartbeat

A plug for responding to heartbeat requests.
Elixir
36
star
14

nimble_lz4

LZ4 compression for Elixir using Rust NIFs. ๐Ÿ—œ
Elixir
25
star
15

vim-textobj-erb

A Vim text object for ERB blocks.
Vim Script
20
star
16

dotfiles

My dotfiles ๐Ÿฅ‘
Shell
19
star
17

from_zero_to_hero_with_elixir

Elixir 101 training. Done by @ericmj and me.
Elixir
19
star
18

convertat

An Elixir library for converting from and to arbitrary bases.
Elixir
17
star
19

workshop-parallel-computation-with-elixir

Elixir
16
star
20

emacs.d

My Emacs config. โš™๏ธ (buuuuut I don't use Emacs anymore)
Emacs Lisp
15
star
21

training_otp_in_elixir

"OTP in Elixir" training done at Elixir Club Kyiv in ~2020. ๐Ÿ‘ฉโ€๐Ÿซ
Elixir
12
star
22

testing_aws_in_elixir

Support code for the blog post "Testing AWS in Elixir" ๐Ÿ•โ€๐Ÿฆบ
Elixir
12
star
23

ecto_unix_timestamp

Ecto type for datetimes stored and cast as Unix timestamps. ๐Ÿ•ฐ๏ธ
Elixir
11
star
24

small_ints

varint and ZigZag encoding/decoding for Erlang
Erlang
11
star
25

bases

A Ruby gem to convert from and to any base.
Ruby
10
star
26

concurrent_data_processing_in_elixir

Material for the "Concurrent Data Processing in Elixir" training.
10
star
27

connected-web-with-elixir-and-phoenix

Code for my Elixir/Phoenix workshop (currently at FunctionalConf India 2019).
Elixir
5
star
28

whatyouhide.github.io

My personal website. ๐Ÿ‘จโ€๐Ÿ’ป
SCSS
4
star
29

.vim

Vim configuration. Left to oblivion. โšฐ๏ธ
Vim Script
3
star
30

.atom

Atom configuration โš›๏ธ (buuut I don't use Atom anymore)
CSS
2
star
31

rack-domain

Rack middleware for dispatching to Rack apps based on the request domain.
Ruby
2
star
32

vim-tmux-syntax

Vim syntax for tmux configuration files.
Vim Script
2
star
33

advent_of_code_2022

Solutions to Advent of Code 2022, in Rust. ๐Ÿฆ€
Rust
1
star
34

intro-to-git-ingegneria

Git talk @ Univaq.
CSS
1
star
35

whatyouhide

Special repository for my GitHub homepage. ๐Ÿ›‹๏ธ
1
star