2014-01-25 16:19:47 +01:00
|
|
|
|
*****
|
|
|
|
|
Usage
|
|
|
|
|
*****
|
|
|
|
|
|
2014-08-02 21:51:20 +02:00
|
|
|
|
Application-specific requirements
|
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
|
|
Vim plugin requirements
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2015-01-08 16:24:09 +01:00
|
|
|
|
The vim plugin requires a vim version with Python support compiled in. Presense
|
|
|
|
|
of Python support in Vim can be checked by running ``vim --version | grep
|
2014-08-02 21:51:20 +02:00
|
|
|
|
+python``.
|
|
|
|
|
|
2015-01-08 16:24:09 +01:00
|
|
|
|
If Python support is absent then Vim needs to be compiled with it. To do this
|
|
|
|
|
use ``--enable-pythoninterp`` :file:`./configure` flag (Python 3 uses
|
|
|
|
|
``--enable-python3interp`` flag instead). Note that this also requires the
|
|
|
|
|
related Python headers to be installed. Please consult distribution’s
|
|
|
|
|
documentation for details on how to compile and install packages.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
|
2014-08-24 11:35:22 +02:00
|
|
|
|
Vim version 7.4 or newer is recommended for performance reasons, but Powerline
|
2015-02-19 21:08:25 +01:00
|
|
|
|
supports Vim 7.0.112 and higher.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
|
2015-02-19 21:06:33 +01:00
|
|
|
|
Shell prompts requirements
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
Due to fish having incorrect code for prompt width calculations up to version
|
|
|
|
|
2.1 and no way to tell that certain sequence of characters has no width
|
|
|
|
|
(``%{…%}`` in zsh and ``\[…\]`` in bash prompts serve exactly this purpose)
|
|
|
|
|
users that have fish versions below 2.1 are not supported..
|
|
|
|
|
|
2015-02-20 15:08:04 +01:00
|
|
|
|
|
|
|
|
|
WM widgets requirements
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
Awesome is supported starting from version 3.5.1, inclusive. QTile is supported
|
|
|
|
|
from version 0.6, inclusive.
|
|
|
|
|
|
2014-08-03 00:43:13 +02:00
|
|
|
|
.. _usage-terminal-emulators:
|
|
|
|
|
|
2014-08-02 21:51:20 +02:00
|
|
|
|
Terminal emulator requirements
|
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2015-01-08 16:24:09 +01:00
|
|
|
|
Powerline uses several special glyphs to get the arrow effect and some custom
|
|
|
|
|
symbols for developers. This requires either a symbol font or a patched font
|
|
|
|
|
installed. Used terminal emulator must also support either patched fonts or
|
|
|
|
|
fontconfig for Powerline to work properly.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
|
2015-01-08 16:24:09 +01:00
|
|
|
|
:ref:`24-bit color support <config-common-term_truecolor>` can also be enabled
|
|
|
|
|
if terminal emulator supports it.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
|
|
|
|
|
.. table:: Application/terminal emulator feature support matrix
|
|
|
|
|
:name: term-feature-support-matrix
|
|
|
|
|
|
|
|
|
|
===================== ======= ===================== ===================== =====================
|
|
|
|
|
Name OS Patched font support Fontconfig support 24-bit color support
|
|
|
|
|
===================== ======= ===================== ===================== =====================
|
|
|
|
|
Gvim Linux |i_yes| |i_no| |i_yes|
|
|
|
|
|
iTerm2 OS X |i_yes| |i_no| |i_no|
|
|
|
|
|
Konsole Linux |i_yes| |i_yes| |i_yes|
|
|
|
|
|
lxterminal Linux |i_yes| |i_yes| |i_no|
|
|
|
|
|
MacVim OS X |i_yes| |i_no| |i_yes|
|
|
|
|
|
rxvt-unicode Linux |i_partial| [#]_ |i_no| |i_no|
|
2014-08-02 22:08:00 +02:00
|
|
|
|
st Linux |i_yes| |i_yes| |i_yes| [#]_
|
2014-08-02 21:51:20 +02:00
|
|
|
|
Terminal.app OS X |i_yes| |i_no| |i_no|
|
2014-08-02 22:08:00 +02:00
|
|
|
|
libvte-based [#]_ Linux |i_yes| |i_yes| |i_yes| [#]_
|
2014-08-02 21:51:20 +02:00
|
|
|
|
xterm Linux |i_yes| |i_no| |i_partial| [#]_
|
2014-11-30 22:57:29 +01:00
|
|
|
|
fbterm Linux |i_yes| |i_yes| |i_no|
|
2014-08-02 21:51:20 +02:00
|
|
|
|
===================== ======= ===================== ===================== =====================
|
|
|
|
|
|
|
|
|
|
.. |i_yes| image:: _static/img/icons/tick.png
|
|
|
|
|
.. |i_no| image:: _static/img/icons/cross.png
|
|
|
|
|
.. |i_partial| image:: _static/img/icons/error.png
|
|
|
|
|
|
2014-08-02 22:08:00 +02:00
|
|
|
|
.. [#] Must be compiled with ``--enable-unicode3`` for the patched font to work.
|
|
|
|
|
.. [#] Since version 0.5.
|
|
|
|
|
.. [#] Including XFCE terminal and GNOME terminal.
|
|
|
|
|
.. [#] Since version 0.36.
|
2014-08-02 21:51:20 +02:00
|
|
|
|
.. [#] Uses nearest color from 8-bit palette.
|
2014-01-25 16:19:47 +01:00
|
|
|
|
|
|
|
|
|
Plugins
|
|
|
|
|
-------
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
|
|
|
|
|
usage/shell-prompts
|
|
|
|
|
usage/wm-widgets
|
|
|
|
|
usage/other
|