Ⅰ. 插件描述
vim theme with crunchbang coloursⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nightsense/vim-crunchbang'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nightsense/vim-crunchbang'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nightsense/vim-crunchbang'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nightsense/vim-crunchbang
Ⅳ. 文档说明
This repository has been superseded by vrunchbang.
.
.
.
vim-crunchbang
CrunchBang (now BunsenLabs) was a lightweight Linux operating system with a sharp modern grey colour scheme.
vim-crunchbang is a Vim (and terminal) theme made of CrunchBang greys and complementary accent colours.
installation
step 1: download the colour scheme
option A: manually
Download the colourscheme file and place in directory
~/.vim/colors/(Linux/Mac) or%userprofile%\vimfiles\colors\(Windows).option B: using a plugin manager
For easy management of Vim colour schemes (and other plugins), try a plugin manager. With vim-plug, for instance, just add
Plug 'nightsense/vim-crunchbang'to the list of plugins invimrc, then runPlugUpdate.step 2: activate the colour scheme
To activate the crunchbang theme, add
colorscheme crunchbangto thevimrcfile.For Neovim, add
set termguicolorsto enable truecolour support.step 3: configure terminal colours (if using Vim in a terminal)
In order for vim-crunchbang to work properly in terminal Vim, set the terminal's colours to match.
As of now, this repository provides the following terminal configuration files:
Xresourcesfile for xterm and urxvt (Linux).colorschemefile for Konsole and QTerminal (Linux)gsettings'command blocks' for pantheon-terminal (elementary OS)For GNOME Terminal, run the install script to create a "profile" for the crunchbang theme. Then select the profile with the right-click menu, or set it as default via Edit > Preferences > Profiles.
