From 658232a1aa9ca805cb02c1a08d6037cfe3d9c54c Mon Sep 17 00:00:00 2001 From: ZyX Date: Wed, 15 May 2013 00:33:13 +0400 Subject: [PATCH] Update documentation --- docs/source/overview.rst | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/source/overview.rst b/docs/source/overview.rst index 1300ef12..dd4c06e9 100644 --- a/docs/source/overview.rst +++ b/docs/source/overview.rst @@ -91,8 +91,19 @@ Usage Vim statusline -------------- -Add the following line to your :file:`vimrc`, where ``{repository_root}`` is the -absolute path to your Powerline installation directory: +If installed using pip just use + +.. 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 @@ -109,6 +120,9 @@ hand: ``powerline`` is installed and run just like any other plugin using call vam#ActivateAddons(['powerline']) +Note: when using Gentoo ebuild you need to specify ``USE=vim`` to enable +powerline. + Shell prompts -------------