tempus-themes-vim


Ⅰ. 插件描述

DEPRECATION NOTICE — MOVED TO GITLAB. Tempus is a collection of themes for Vim and terminal emulators that are compliant at the very least with the WCAG AA accessibility standard for colour contrast

Ⅱ. 基本信息

创建日期:  2017-11-19
使用用户:  7
Github星:  2
插件作者:  Protesilaos Stavrou

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'protesilaos/tempus-themes-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'protesilaos/tempus-themes-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'protesilaos/tempus-themes-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/protesilaos/tempus-themes-vim

Ⅳ. 文档说明

# Tempus Themes for Vim

DEPRECATION NOTICE — MOVED TO GITLAB.

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

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://github.com/protesilaos/tempus-themes-vim.git --depth 1 && cd tempus-themes-vim

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/

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/

Applying the theme

Once copied to the right place, the theme is declared with the following options inside the .vimrc:

" Theme
syntax enable
colorscheme tempus_winter

Plugin method

Use your favourite plugin manager. With vim-plug add the following line to your .vimrc:

Plug "protesilaos/tempus-themes-vim"

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

Applying the theme

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

" Theme
syntax enable
colorscheme tempus_winter

Enjoy!

Additional resources

For all available ports, refer to the main Tempus themes repo.

Contributing

All contributions should be submitted to the Tempus themes generator. See CONTRIBUTING.md.

License

GNU General Public License Version 3. See LICENSE.

Meta

The Tempus themes project consists of a number of repositories. It is maintained with a set of scripts and utilities, stored in the tempus-themes-utils.

All theme files are created with the Tempus themes generator. See the generator CONTRIBUTING.md.

Donations

If you appreciate this work, consider donating via PayPal.

添加新评论