Coder Social home page Coder Social logo

protesilaos / tempus-themes-vim Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 130 KB

[Mirror] Tempus is a collection of themes for Vim, text editors, and terminal emulators that are compliant at the very least with the WCAG AA accessibility standard for colour contrast. This repo contains only the Vim files.

Home Page: https://protesilaos.com/tempus-themes

License: GNU General Public License v3.0

Vim Script 100.00%
tempus-themes vim wcag-aa wcag-aaa

tempus-themes-vim's Introduction

Tempus Themes for Vim

The theme files can be copied manually or installed as a bundle with a plugin.

1 Manual method: we use the command line

Start by cloning the tempus-themes-vim repo and entering it (unless you prefer copy-pasting, in which case adapt accordingly):

git clone https://gitlab.com/protesilaos/tempus-themes-vim.git --depth 1 && cd tempus-themes-vim

1.1 Create destination directory

The manual method requires you to copy the file to ~/.vim/colors/. Run the following command, while ignoring line that start with # (those are just comments):

# Create path to colors directory if it does not already exist
mkdir -p ~/.vim/colors/

1.2 Copying to destination directory

Now run the following command for the theme of your choice. The example uses tempus_winter.vim:

cp colors/tempus_winter.vim ~/.vim/colors/

Done.

Pro tip. To copy all the themes at once, run the following:

cp colors/*.vim ~/.vim/colors/

2 Plugin method

Use your favourite plugin manager method.

With vim-plug add the following line to your .vimrc:

Plug "https://gitlab.com/protesilaos/tempus-themes-vim.git"

Then execute the plugin manager's command to update the plugin files.

3 Applying the theme

Once available, the theme is declared with the following options inside the .vimrc:

" Theme
syntax enable
colorscheme tempus_winter

Enjoy!

Note that by default, the theme does not set the background color when used in a terminal to play well with transparent terminals. The background color can be set by adding the following option in the .vimrc:

let g:tempus_enforce_background_color=1

4 GNU/Linux Package

If you use Arch Linux or derivatives, you can get these themes from the AUR.

Additional resources

For more information about this project, screenshots, and all available ports, refer to the main Tempus themes repo.

License

GNU General Public License Version 3.

Meta

All theme files are created through scripts with the Tempus themes generator. See the generator's CONTRIBUTING.md.

Donations

If you appreciate this work, consider donating via PayPal.

tempus-themes-vim's People

Contributors

protesilaos avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.