• Stars
    star
    242
  • Rank 167,048 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 2 years ago

Reviews

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

Repository Details

Ports of the Gotham colorscheme for common editors and terminal emulators ๐ŸŒƒ

logo

Gotham is a very dark colorscheme. It was built for vim (link to vim colorscheme), but this repository contains versions of the colorscheme tailored for a bunch of other platforms.

Installation

If you use GUI vim (MacVim or gVim), vim-gotham is the vim version of the Gotham colorscheme. Details and installation instructions for vim are available in the vim-gotham repository.

If you use terminal vim, check if your terminal emulator is listed in one of the following ones. If it is, follow the instructions to install the colorscheme for the terminal emulator; if it's not there, you can use the 256 colors version of the colorscheme but it doesn't look as polished as the regular one. Instructions are available at the vim-gotham repository.

You're more than welcome to add support for more platforms. Send me a PR!

iTerm 2

Download the repository, unzip it and double-click on the iterm2/Gotham.itermcolors file. iTerm will confirm the colorscheme has been installed.

Note if you're on iTerm ~2.0 (stable), do the same thing but with the iterm2/Gotham-stable.itermcolors file.

Now go into Preferences > Profiles > Colors and select Gotham (or Gotham-stable) from the Color Presets... menu.

If double-clicking doesn't work, you can go to Preferences > Profiles > Colors and select Import... from the Color Presets... menu. From there, select the theme file (.itermcolors) and it will be imported. Now set the colorscheme to Gotham (or Gotham-stable).

Terminal.app

Download terminal.app/Gotham.terminal. Go into Terminal.app > Preferences > Profiles and on the bottom left of the window, click the little gear icon and click Import...; now select the file you downloaded. If you want to set the colorscheme as the default one, click the Default button on the right of the gear icon.

Note this has been tested with OSX >= 10.9 only, but let me know if it works with previous versions too (just open an issue), thanks!

Konsole

Copy the file Gotham.colorscheme in the Konsole colorschemes folder (default ~/.kde/share/apps/konsole).

Now go into Configuration > Modify current profile > Appearance and the colorscheme Gotham should be in the list. The change of colorscheme is immediate.

Xresources

Copy the contents of xresources/gotham into your ~/.Xresources config file.

Then run xrdb ~/.Xresources to reload the config file and load the gotham colors.

For more details about configuring Xresources see the Arch Linux wiki page.

PuTTY

Download putty/gotham.reg.

Double-clicking on it should ask for confirmation that you want to modify the registry.

Start PuTTY, select "Gotham" from the "Saved Sessions" list and then click "Load" to load the colors.

Termite

Copy the contents of termite/gotham to your Termite configuration file.

mkdir -p ~/.config/termite
cd gotham-contrib
cat termite/gotham >> ~/.config/termite/config

If Termite is running, do CTRL + SHIFT + R to reload the config file.

Terminator

Make a backup of any existing session layouts and other options you may have and copy terminator/gotham to ~/.config/terminator/config or $XDG_CONFIG_HOME/terminator/config if you're running OS X.

Restart terminator to load the Gotham colorscheme.

Alacritty

Copy the contents of alacritty/gotham.yml into your $XDG_CONFIG_HOME/alacritty.yml or $HOME/.alacritty.yml after any pre-existing colors: mapping. After saving, it should change automatically.

For more information, see the Alacritty README.

Windows Terminal

Copy the contents of [windows-terminal/settings.json] into the schemes array of your settings.json file. Add "colorScheme": "Gotham" to the desired profile in the profiles array of your settings.json file.

For more information, see the Windows article

Jetbrains IDEs (IntelliJ/Pycharm/WebStorm/PhpStorm/Rider/Clion/Rubymine//Goland)

Download intellij/Gotham.icls and then follow the instructions for your OS.

Open IDE then navigate to:

(Windows & Linux) "File > Settings > Editor > Colors Scheme"

(OSX) "PyCharm > Preferences > Editor > Color Scheme"

Open dropdown by clicking โš™โ–พ button which should be next to scheme selection window (Scheme: [...] โš™โ–พ).

Choose Import Scheme.

Find and load downloaded Gotham.icls file.

Colorscheme should change immediately and Gotham should appear on list of available schemas.
(In case of external schemas, โš™โ–พ dropdown contains delete option for schema removal)

Jetbrains IDEs - manual installation:

OSX

Navigate to the location where you downloaded the file above and copy it (โŒ˜+c). Then press โ‡ง+โŒ˜+g and go to ~/Library/Preferences/WebIde80/colors/ or ~/Library/Preferences/PyCharm30/colors/.

Paste (โŒ˜+v) and restart your IDE. Then navigate to Settings > Editor > Colors & Fonts and select the Gotham colorscheme.

Windows

On Windows Explorer, select the file you downloaded and copy it to the clipboard. Navigate to the colors folder, located in: C:/Users/USERNAME/.WebIde80/config/colors or C:/Users/USERNAME/.PyCharm30/config/colors.

Paste the .icls file in and restart your IDE. Then navigate to File > Settings > Editor > Colors & Fonts and select the Gotham colorscheme.

Linux

On Linux, the color files are located in ~/.WebIde80/config/colors/ or ~/.PyCharm30/config/colors/.

Move the file you downloaded in the appropriate directory and restart your IDE, then (in the IDE) navigate to File > Settings > Editor > Colors & Fonts and select the Gotham colorscheme.

Mintty

Download mintty/.minttyrc and place the contents into your .minttyrc file.

Emacs

An Emacs port has been made! The theme with all the necessary installation instructions are available on the Emacs gotham-theme repository.

Google Chrome theme

The Gotham colorscheme has been ported to a Chrome theme, which is available on the Chrome Web Store.

Xcode theme

Copy file xcode/Gotham.dvtcolortheme into your ~/Library/Developer/Xcode/UserData/FontAndColorThemes/.

Open Xcode, then navigate to Xcode > Preferences > Fonts & Colors and select the Gotham theme.

Sublime Text theme

Go to Preferences > Browse Packages in the menu and create a Colorsublime-Themes directory if it doesn't exist yet. Copy sublime-text/Gotham.tmTheme there.

You will find the Gotham theme in Preferences > Color Scheme > Colorsublime-Themes.

Sublime Text UI theme

A Gotham sublime text 3 UI theme: gotham-theme-sublime. Includes the original Gotham sublime color scheme theme by whatyouhide.

Shell

Download and source on your shell rc file.

curl --create-dirs -o $HOME/.config/gotham/gotham.sh https://raw.githubusercontent.com/whatyouhide/gotham-contrib/master/shell/gotham.sh

Bash/ZSH

# Gotham Shell
GOTHAM_SHELL="$HOME/.config/gotham/gotham.sh"
[[ -s $GOTHAM_SHELL ]] && source $GOTHAM_SHELL

Fish

# Gotham Shell
eval sh $HOME/.config/gotham/gotham.sh

See shell/README.md for more information.

Jupyter notebook

Gotham color scheme for Jupyter notebook is available with installation instructions in gotham-jupyter repository.

st

Go to your local repository of the st, merge your own config.h with the values in st/config.h. Run make and [sudo] make install.

Visual Studio Code

Gotham theme is now available on the VSCode Marketplace. You can find more information in the vscode-theme-gotham repository.

Atom

A Gotham-inspired syntax theme, with special features, is available for Atom: atom-ubik-syntax.

Installation: apm install ubik-syntax

Spyder

A Gotham-inspired syntax theme is available for Spyder: spyder-ubik-syntax.

Arc Theme

A flat theme with transparent elements based on Gotham scheme for GTK 3, GTK 2 and GNOME Shell which supports GTK 3 and GTK 2 based desktop environments like GNOME, Unity, Budgie, Pantheon, Xfce, MATE, etc. : arc-theme-gotham.

Highlight

A Gotham inspired theme for the syntax highlighting tool highlight by Andre Simon

Installation: The gotham.theme file can be installed to ~/.hightlight/themes or to your system highlight installation such as /usr/share/highlight/themes/

See highlight/README.md for additional info

xfce4-terminal

Copy the file xfce4-terminal/gotham.theme to /usr/share/xfce4/terminal/colorschemes/

Go into Preferences > Colors > Presets and the colorscheme Gotham should be in the list. The change of colorscheme is immediate.

kitty

Copy the file kitty/Gotham.conf to ~/.config/kitty/

Add this line to your kitty.conf configuration file: include ~/.config/kitty/Gotham.conf

Contributing

I'm more than happy to accept Pull Requests of any kind: bug fixes, support for other editors/terminal emulators, suggestions. If something is wrong, you can help even by just opening an issue.

When you make a PR with support for a new platform (terminal emulator, editor, whatever) attach a screenshot of the colorscheme in the new platform so it's easier for me to merge right away! Also, make sure to add a section in this repository's README that explains how to install the theme on the new platform.

Note if you want to tweak the colors and open a PR, make sure to open in in vim's repository and not here. Attach before and after screenshots!

You can see a list of contributors here. Thanks to every one of them!

License

MIT ยฉ 2014-2015 Andrea Leopardi, see the license.

More Repositories

1

vim-gotham

Code never sleeps in Gotham City. ๐ŸŒƒ
Vim Script
1,215
star
2

redix

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

stream_data

Data generation and property-based testing for Elixir. ๐Ÿ”ฎ
Elixir
843
star
4

corsica

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

xandra

Fast, simple, and robust Cassandra/ScyllaDB driver for Elixir.
Elixir
392
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
64
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

small_ints

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

ecto_unix_timestamp

Ecto type for datetimes stored and cast as Unix timestamps. ๐Ÿ•ฐ๏ธ
Elixir
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