sponsor Vim development Vim logo Vim Book Ad

abbott.vim : A warm, dark color scheme for prose and code, with pastels and pretty greens

 script karma  Rating 50/16, Downloaded by 1512  Comments, bugs, improvements  Vim wiki

created by
Jonathan Rascher
 
script type
color scheme
 
description
[This color scheme is developed on GitHub: https://github.com/bcat/abbott.vim.]

`abbott.vim` is a warm, dark color scheme for prose and code, with pastels and
pretty greens. It's primarily designed for editing files with a lot of plain
text (i.e., Markdown or TeX documents), but it handles executable code well too.
This color scheme draws inspiration from several sources, including memories of
late nights working mathematical proofs—it's named after Stephen Abbott's
_Understanding Analysis_, which I was studying at the time—and drinking copious
quantities of Mountain Dew.

## Screenshots

Because hey, it's a color scheme! That's what you really want to see, right?

abbott.vim 2.1: Vimscript (https://i.imgur.com/TpuJttd.png)

abbott.vim 2.1: Python (https://i.imgur.com/PSZu7oU.png)

abbott.vim 2.1: Markdown (https://i.imgur.com/MQA3MCi.png)

abbott.vim 2.1: C (https://i.imgur.com/rSJ2Hs4.png)

Compare to screenshots from older versions (https://imgur.com/a/7woPY) to see
how this color scheme has evolved.

## Colors

This color scheme uses a 16-color palette that maps nicely onto the ANSI color
palette, plus a couple of additional colors for terminals that allow them:

https://i.imgur.com/8p1dEP3.png

`abbott.vim` looks best where RGB colors are supported, either in the gVim GUI
or in a terminal supporting true colors (https://github.com/termstandard/colors)
with Vim's `termguicolors` option enabled. You can use this color scheme in a
256-color terminal instead, if you like, and you'll get the following
approximated palette:

https://i.imgur.com/ZkbmjkR.png

The colors are pretty close, but the brown and olive colors are replaced with
shades of gray since the XTerm 256-color palette doesn't have many shades of
brown to choose from.

## Features

* This color scheme is a dark theme that attempts to avoid excessive text
  contrast. Plain text is light green on dark brown to be easy on the eyes after
  long hours. Additionally, care has been taken to ensure the color palette
  looks decent in "night light" mode (e.g., with f.lux (https://justgetflux.com/) or
  other blue light filters enabled).
* This color scheme supports all highlight groups in Vim 8.2, as well as the
  Better Whitespace (https://github.com/ntpeters/vim-better-whitespace) plugin.
* Additional plugin-specific highlight groups may be added in the future.

## Options

This color scheme offers some additional features that are disabled by default
because they may not interact well with all terminals or with other Vim color
schemes. These features can be enabled if the user likes to live dangerously.

```vim
let g:abbott_force_16_colors = 1
```

If requested by the user, restrain ourselves to only the 16 standard ANSI
terminal colors even if Vim thinks the terminal supports 256 colors. This allows
the user to configure their terminal emulator to use the 16 colors defined above
for its ANSI palette, allowing exact color matches rather than 256-color
approximations even in terminals that don't support true color.

```vim
let g:abbott_set_term_ansi_colors = 1
```

If requested by the user, use our standard 16-color palette for the embedded
terminal. We don't do this by default because unlike the highlight groups above,
this isn't automatically cleared when another color scheme is selected.

```vim
let g:abbott_term_use_italics = 1
```

By default, Italics in the terminal are disabled since the default terminfo for
GNU Screen renders italics as reverse video, and since other terminals like
hterm may show artifacts when rendering italics.

```vim
let g:abbott_term_set_underline_color = 1
```

By default, the foreground text color will be replaced by the underline color in
the terminal since if the terminal does not support setting the underline color
separately, that color will be completely invisible.

```vim
let g:abbott_term_use_undercurl = 1
```

By default, underlined text will be used in the terminal in place of undercurl,
because some terminfo entries cause Vim to think the terminal supports undercurl
when it really does not (https://github.com/vim/vim/issues/3471).

## Contributing

This color scheme is licensed under the ISC license. Folks are free to port this
color scheme to other editors and environments if they would like, and are
encouraged to submit fixes back to the canonical `abbott.vim` repository if
possible. Likewise, patches to support new Vim features are always welcome.
Consult the changelog
(https://github.com/bcat/abbott.vim/blob/master/CHANGES.md) for version history.
 
install details
* Preferred: Check out the Git repository (as a submodule if you already keep your Vim configuration in Git) and use your favorite plugin manager to install it.
* Alternate: Download the tarball from this page or from the Git repository, then copy abbott.vim to your ~/.vim/colors directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
abbott.vim-2.1.tar.gz v2.1 2021-05-07 7.0 Jonathan Rascher * **Added chocolate and dark olive colors on top of core 16-color palette.**
* Adjusted brown shades to reduce excessive contrast.
* Fixed an incorrect ANSI color assignment.
* Tweaked a few color assignments for greater clarity and fewer distractions.
* Improved highlighting of diff files.
* Switched visual selection from dark-on-light to light-on-dark colors.
abbott.vim-2.0.tar.gz 2.0 2020-08-17 7.0 Jonathan Rascher * **Added support for 16- and 256-color terminals.**
* **Added a bunch new highlight groups up through Vim 8.2.**
* Increased saturation of several colors.
* Slightly increased contrast across the board.
* Added more shades of green.
* Gave colors more evocative names.
* Made comments italic.
* Added options to configure new terminal support (undercurl, etc.).
* Vastly improved documentation and updated screenshots.
* Added `colors.sh` shell script to help maintain the color palette.
* Swapped Bad Whitespace plugin support for modern Better Whitespace plugin.
* Removed CSApprox settings overrides, leaving them up to the user.
abbott.vim-v1.3.tar.gz 1.3 2012-04-10 7.0 Jonathan Rascher Fixed areas where contrast/readability dropped since v1.0.
abbott.vim-v1.2.tar.gz 1.2 2012-04-08 7.0 Jonathan Rascher Brighten a few colors, darken right margin substantially, make mint mildly different, and highlight TeX macros as preprocessor directives instead of statements.
abbott.vim-v1.1.1.tar.gz 1.1.1 2012-04-08 7.0 Jonathan Rascher Bump copyright year---which I stupidly forgot to do previously. :)
abbott.vim-v1.1.tar.gz 1.1 2012-04-07 7.0 Jonathan Rascher Darken the background color substantially, brighten the blue and lavender colors, and tell CSApprox not to try and override the terminal's background color (since it'll just get mapped to black anyway).
abbott.vim-v1.0.tar.gz 1.0 2011-10-17 7.0 Jonathan Rascher Initial upload
ip used for rating: 3.144.189.177

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github