Skip to content
Vim adaptation of the Afterglow colorscheme
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Jul 24, 2018
autoload/airline/themes minor changes Jun 29, 2019
colors Fix for Vim/MacVim. Also, added warning for option ignored in GUI's. Nov 6, 2019
LICENSE minor changes Jun 29, 2019 README update Nov 6, 2019


Vim adaptation of the famous Afterglow theme from Sublime Text 2/3.


🚀 Modern and nicely integrated with plugins and environments.

🔋 Batteries included so that you can concentrate on what matters most: your code.

  • Built-in airline scheme ✈️
  • No bad surprises: works for both vim and neovim, terminal and GUI.
  • Highlighted important keywords in reddish and bold inside comments: TODO/FIXME/XXX...
  • No more "it looks flat/terrible on this language": includes customized highlighting for many popular languages
    • Java
    • Python
    • C
    • Lua
    • Go
    • Clojure
    • Scala
    • PHP
    • and many others...

🎨 Easy on the eyes

Click on the image below to view it in the original size (more screenshots below):



To enable it, simply add colorscheme afterglow (not vim-afterglow) to your ~/.vimrc after having installed the plugin (manually or by using a package manager).

Airline theme should be updated accordingly, but can be explicitly specified by using let g:airline_theme='afterglow'.


To further customize Afterglow, you can use the following options before setting the color scheme on your vimrc (or init.vim if using NeoVim):

  • Blackout: let g:afterglow_blackout=1 (default: 0)

    ☀️ Use this option if you need more contrast, such as when working in an office where open windows are just behind you, causing glare on your screen.

    This option has no effect if g:afterglow_inherit_background is also set.

  • Italicize comments: let g:afterglow_italic_comments=1 (default: 0)

    📖 Helps visual grepping and quickly differentiating source code and comments when skimming through files.

    If using a terminal emulator (iTerm, Alacritty, Terminator...), check if it correctly supports italics. Evidently your chosen font type should have an italics variety too. In case of problems please check these two common scenarios before opening an issue concerning italics.

  • Inherit background: let g:afterglow_inherit_background=1 (default: 0)

    Use this option if you want the background color to play nicely with the program (e.g. gVim, iTerm etc.) in which vim is used. It may be useful when instantiating vim inside Tmux.











And if you liked this project, feel free to pay me a cup of coffee! 😊 ☕️ ❤️ 👇


You can’t perform that action at this time.