mirror of
https://github.com/powerline/powerline.git
synced 2025-07-21 21:05:11 +02:00
Update documentation
This commit is contained in:
parent
35e723e093
commit
658232a1aa
@ -91,8 +91,19 @@ Usage
|
|||||||
Vim statusline
|
Vim statusline
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
Add the following line to your :file:`vimrc`, where ``{repository_root}`` is the
|
If installed using pip just use
|
||||||
absolute path to your Powerline installation directory:
|
|
||||||
|
.. code-block:: vim
|
||||||
|
|
||||||
|
python from powerline.vim import setup as powerline_setup
|
||||||
|
python powerline_setup()
|
||||||
|
python del powerline_setup
|
||||||
|
|
||||||
|
(replace ``python`` with ``python3`` if appropriate).
|
||||||
|
|
||||||
|
If you just cloned the repository add the following line to your :file:`vimrc`,
|
||||||
|
where ``{repository_root}`` is the absolute path to your Powerline installation
|
||||||
|
directory:
|
||||||
|
|
||||||
.. code-block:: vim
|
.. code-block:: vim
|
||||||
|
|
||||||
@ -109,6 +120,9 @@ hand: ``powerline`` is installed and run just like any other plugin using
|
|||||||
|
|
||||||
call vam#ActivateAddons(['powerline'])
|
call vam#ActivateAddons(['powerline'])
|
||||||
|
|
||||||
|
Note: when using Gentoo ebuild you need to specify ``USE=vim`` to enable
|
||||||
|
powerline.
|
||||||
|
|
||||||
Shell prompts
|
Shell prompts
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user