Update docs with new module paths

This commit is contained in:
Kim Silkebækken 2013-01-20 19:48:56 +01:00
parent b7d8495b9c
commit 84edefbe2e
2 changed files with 6 additions and 6 deletions

View File

@ -246,10 +246,10 @@ Segments
--------
Segments are written in Python, and the default segments provided with
Powerline are located in
:file:`powerline/ext/{extension}/segments/{module}.py`. User-defined segments
can be defined in any module in ``sys.path`` or :ref:`paths common configuration
option <config-common-paths>`, import is always absolute.
Powerline are located in :file:`powerline/segments/{extension}.py`.
User-defined segments can be defined in any module in ``sys.path`` or
:ref:`paths common configuration option <config-common-paths>`, import is
always absolute.
Segments are regular Python functions, and they may accept arguments. All
arguments should have a default value which will be used for themes that

View File

@ -104,7 +104,7 @@ Vim statusline
If Powerline is installed as a Python package, you can enable the vim plugin
by adding the following line to your ``vimrc``::
python from powerline.ext.vim import source_plugin; source_plugin()
python from powerline.bindings.vim import source_plugin; source_plugin()
If Powerline is installed somewhere other than Python's site-packages
directories you'll have to source the vim plugin file with an absolute path
@ -113,7 +113,7 @@ to the plugin location.
Add the following line to your ``vimrc``, where ``{path}`` is the path to
the main Powerline project directory::
source {path}/powerline/ext/vim/source_plugin.vim
source {path}/powerline/bindings/vim/source_plugin.vim
Terminal prompts
^^^^^^^^^^^^^^^^