mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-16 15:33:49 -05:00
Add configuration for installation with vim-plug
This commit is contained in:
@@ -103,6 +103,13 @@ This software is released under the MIT License, see LICENSE.
|
|||||||
|
|
||||||
2. Install with `:NeoBundleInstall`.
|
2. Install with `:NeoBundleInstall`.
|
||||||
|
|
||||||
|
### vim-plug (https://github.com/junegunn/vim-plug)
|
||||||
|
1. Add the following configuration to your `.vimrc`.
|
||||||
|
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
2. Install with `:PlugInstall`.
|
||||||
|
|
||||||
## Configuration tutorial
|
## Configuration tutorial
|
||||||
By default, the statusline looks like:
|
By default, the statusline looks like:
|
||||||

|

|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Version: 0.0
|
|||||||
Author: itchyny (https://github.com/itchyny)
|
Author: itchyny (https://github.com/itchyny)
|
||||||
License: MIT License
|
License: MIT License
|
||||||
Repository: https://github.com/itchyny/lightline.vim
|
Repository: https://github.com/itchyny/lightline.vim
|
||||||
Last Change: 2015/11/01 20:04:12.
|
Last Change: 2015/11/04 08:30:43.
|
||||||
|
|
||||||
CONTENTS *lightline-contents*
|
CONTENTS *lightline-contents*
|
||||||
|
|
||||||
@@ -977,6 +977,15 @@ Problem 1: *lightline-problem-1*
|
|||||||
<
|
<
|
||||||
2. Install with |:NeoBundleInstall|.
|
2. Install with |:NeoBundleInstall|.
|
||||||
|
|
||||||
|
If you are to install this plugin using |vim-plug|:
|
||||||
|
|
||||||
|
1. Add the following configuration to your
|
||||||
|
.vimrc(_vimrc).
|
||||||
|
>
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
<
|
||||||
|
2. Install with |:PlugInstall|.
|
||||||
|
|
||||||
Problem 2: *lightline-problem-2*
|
Problem 2: *lightline-problem-2*
|
||||||
How to update this plugin.
|
How to update this plugin.
|
||||||
|
|
||||||
@@ -988,13 +997,15 @@ Problem 2: *lightline-problem-2*
|
|||||||
|
|
||||||
If you have installed this plugin using Vundle:
|
If you have installed this plugin using Vundle:
|
||||||
|
|
||||||
1. Execute |:PluginInstall!|. Or try git pull in the
|
1. Execute |:PluginUpdate|.
|
||||||
directory of this plugin.
|
|
||||||
|
|
||||||
If you have installed this plugin using NeoBundle:
|
If you have installed this plugin using NeoBundle:
|
||||||
|
|
||||||
1. Execute |:NeoBundleInstall!|. Or try git pull in
|
1. Execute |:NeoBundleUpdate|.
|
||||||
the directory of this plugin.
|
|
||||||
|
If you have installed this plugin using vim-plug:
|
||||||
|
|
||||||
|
1. Execute |:PlugUpdate|.
|
||||||
|
|
||||||
Problem 3: *lightline-problem-3*
|
Problem 3: *lightline-problem-3*
|
||||||
How to uninstall this plugin.
|
How to uninstall this plugin.
|
||||||
@@ -1015,6 +1026,12 @@ Problem 3: *lightline-problem-3*
|
|||||||
configuration from your .vimrc(_vimrc).
|
configuration from your .vimrc(_vimrc).
|
||||||
2. Update with |:NeoBundleClean|.
|
2. Update with |:NeoBundleClean|.
|
||||||
|
|
||||||
|
If you have installed this plugin using vim-plug:
|
||||||
|
|
||||||
|
1. Remove the :Plug 'itchyny/lightline.vim'
|
||||||
|
configuration from your .vimrc(_vimrc).
|
||||||
|
2. Update with |:PlugClean|.
|
||||||
|
|
||||||
Problem 4: *lightline-problem-4*
|
Problem 4: *lightline-problem-4*
|
||||||
Cool statuslines appear only on |:vsp|.
|
Cool statuslines appear only on |:vsp|.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user