linepower.vim


Ⅰ. 插件描述

Vim local themes for powerline

Ⅱ. 基本信息

创建日期:  2013-05-07
使用用户:  11
Github星:  20
插件作者:  Zhao Cai

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'zhaocai/linepower-vim-safe-and-sound'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'zhaocai/linepower-vim-safe-and-sound'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'zhaocai/linepower-vim-safe-and-sound'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/zhaocai/linepower.vim

Ⅳ. 文档说明

# Vim local themes for powerline:

------------- - -----------------------------------------------
Plugin        : linepower.vim
Author        : Zhao Cai
EMail         : caizhaoff@gmail.com
Homepage      : http://zhaocai.github.io/linepower.vim/
Version       : 1.4.0
Date Created  : Tue 07 May 2013 08:59:43 PM EDT
Last Modified : Wed 08 May 2013 02:57:10 AM EDT
------------- - -----------------------------------------------

This powerline extension is a quickstart for adding customized powerline local themes in vim.

You may fork it and add more local themes.

Included Local Themes

  1. unite.vim

    ![unite normal]( http://d.pr/i/RtLV+ )
    
    ![unite insert]( http://d.pr/i/OcyE+ )
    
  2. tagbar

    ![tagbar](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/tagbar.png)
    
    ![tagbar_nc](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/tagbar_nc.png)
    
  3. rvm/rbenv version
  4. syntastic

    ![syntastic]( http://d.pr/i/tT0l+ )
    
  5. vimfiler

    ![vimfiler](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/vimfiler.png)
    
  6. vimshell

    ![vimshell](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/vimshell.png)
    
  7. asyncommand
  8. previewwindow

    ![previewwindow](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/previewwindow.png)
    
  9. quickfix / location list

    ![quickfix](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/quickfix.png)
    
    ![locationlist](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/locationlist.png)
    
  10. nerdtree

    ![nerdtree](https://raw.github.com/zhaocai/linepower.vim/master/screenshots/nerdtree.png)
    

Installation

  1. ( Assume powerline is configured correctly )
  2. Replace the json files under config to corresponding files under ~/.config/powerline. Check the diff if you already have customized configurations.
  3. Install linepower like any other vim plugins. For Example,
  • neobundle:
    NeoBundle 'zhaocai/linepower.vim'
  • vundle:
    Bundle 'zhaocai/linepower.vim'

Segments

Weather Segments

    {
            "module" : "powerline.segments.common",
            "name": "weather",
            "exclude_modes": ["nc"],
            "draw_soft_divider": true,
            "priority": 10
    },

添加新评论