cobalt2-vim-theme


Ⅰ. 插件描述

Vim port of cobalt2 sublime theme

Ⅱ. 基本信息

创建日期:  2014-11-26
使用用户:  33
Github星:  35
插件作者:  Gertjan Reynaert

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gertjanreynaert/cobalt2-vim-theme

Ⅳ. 文档说明

Cobalt2 Vim

Install

With Plug:

Plug 'gertjanreynaert/cobalt2-vim-theme'

For terminal vim: the only way to accomplish the background color is by
installing the [cobalt2 iterm color
scheme](https://github.com/wesbos/Cobalt2-iterm/blob/master/cobalt2.itermcolors)

Installing xcode theme

Download the Cobalt2.dvtcolortheme file

Create the destination folder for the theme

  mkdir ~/Library/Developer/Xcode/UserData/FontAndColorThemes

Copy the theme from Downloads folder to the xcode destination folder

  cp ~/Downloads/Cobalt2.dvtcolortheme ~/Library/Developer/Xcode/UserData/FontAndColorThemes

The colortheme must be an executable, which can be achieved by following command

  chmod +x ~/Library/Developer/Xcode/UserData/FontAndColorThemes/Cobalt2.dvtcolortheme

Restart xcode and the theme should be available in xcode preferences

Contributions

Pr's are always welcome. Please include a screenshot and a test file that
demonstrates all the highlighted elements

Language support

  • [x] Ruby
  • [x] Javascript

    • [x] Coffeescript
  • [x] Css

    • [x] Scss
    • [ ] Less
  • [x] Html

    • [ ] Erb
    • [x] Haml
    • [ ] Handlebars
    • [x] XML/JSX
  • [x] Markdown
  • [ ] JSON
  • [x] Yaml
  • [ ] SQL
  • [ ] Shell
  • [x] NERDtree (plugin)
  • [ ] airplane (plugin)
  • [ ] CTRL-P (plugin)

All unsupported languages have a fallback to the default linked elements, or
to predefined colors of the jellybeans color theme

Currently not scheduled

  • Python
  • PHP
  • Objective C
  • C
  • Erlang
  • Lua
  • ...

License

MIT

添加新评论