From dfb08fad5ac893cca1d8267880c9904a53a3996a Mon Sep 17 00:00:00 2001 From: ZyX Date: Wed, 27 Aug 2014 22:28:07 +0400 Subject: [PATCH] =?UTF-8?q?Separate=20some=20issues=20into=20=E2=80=9CVim?= =?UTF-8?q?=20issues=E2=80=9D=20section=20in=20troubleshooting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/troubleshooting.rst | 59 +++++++++++++++++---------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/docs/source/troubleshooting.rst b/docs/source/troubleshooting.rst index a51a4142..2ca42a5f 100644 --- a/docs/source/troubleshooting.rst +++ b/docs/source/troubleshooting.rst @@ -120,6 +120,37 @@ make powerline package importable anywhere: use pip install --user --editable path/to/powerline +I am suffering bad lags before displaying shell prompt +------------------------------------------------------ + +To get rid of these lags there currently are two options: + +* Run ``powerline-daemon``. Powerline does not automatically start it for you. +* Compile and install ``libzpython`` module that lives in + https://bitbucket.org/ZyX_I/zpython. This variant is zsh-specific. + +Prompt is spoiled after completing files in ksh +----------------------------------------------- + +This is exactly why powerline has official mksh support, but not official ksh +support. If you know the solution feel free to share it in `powerline bug +tracker`_. + +When using z powerline shows wrong number of jobs +------------------------------------------------- + +This happens because `z `_ is launching some jobs in +the background from ``$POWERLINE_COMMAND`` and these jobs fail to finish before +powerline prompt is run. + +Solution to this problem is simple: be sure that :file:`z.sh` is sourced +strictly after :file:`powerline/bindings/bash/powerline.sh`. This way background +jobs are spawned by `z `_ after powerline has done +its job. + +Vim issues +========== + My vim statusline has strange characters like ``^B`` in it! ----------------------------------------------------------- @@ -148,34 +179,6 @@ My vim statusline is not displayed completely and has too much spaces * Alternative: set :ref:`ambiwidth ` to 2, remove fancy dividers (they suck when ``ambiwidth`` is set to double). -When using z powerline shows wrong number of jobs -------------------------------------------------- - -This happens because `z `_ is launching some jobs in -the background from ``$POWERLINE_COMMAND`` and these jobs fail to finish before -powerline prompt is run. - -Solution to this problem is simple: be sure that :file:`z.sh` is sourced -strictly after :file:`powerline/bindings/bash/powerline.sh`. This way background -jobs are spawned by `z `_ after powerline has done -its job. - -I am suffering bad lags before displaying shell prompt ------------------------------------------------------- - -To get rid of these lags there currently are two options: - -* Run ``powerline-daemon``. Powerline does not automatically start it for you. -* Compile and install ``libzpython`` module that lives in - https://bitbucket.org/ZyX_I/zpython. This variant is zsh-specific. - -Prompt is spoiled after completing files in ksh ------------------------------------------------ - -This is exactly why powerline has official mksh support, but not official ksh -support. If you know the solution feel free to share it in `powerline bug -tracker`_. - Powerline loses color after editing vimrc -----------------------------------------