371 Commits

Author SHA1 Message Date
ZyX
c86b047ed4 Add ability to specify some segment keys once in top theme 2013-02-24 22:22:10 +01:00
Kim Silkebækken
b347d53b6d Remove obsolete Vundle warning from docs 2013-02-20 14:07:26 +01:00
Kim Silkebækken
ea56f4c26b Split optional dependencies to python packages and other apps
Closes #227.
2013-02-18 19:40:32 +01:00
ZyX
baaf6cde1d Switch from status + ls-files to status --ignored 2013-02-18 09:07:51 +01:00
ZyX
c45747a3b8 Ease E858/E860 errors debugging
E858: Eval did not return a valid python object
E860: Eval did not return a valid python 3 object
2013-02-15 21:06:08 +04:00
Kim Silkebækken
2caa136f26 Add docs for all segments 2013-02-08 17:35:15 +01:00
Kim Silkebækken
55ad48f0e6 Update sphinx configuration 2013-02-08 17:32:23 +01:00
ZyX
5399265135 Add note about zpython branch
TODO: To be removed after (if) zsh maintainers accept the patch.

Refs #104.
2013-02-08 14:43:32 +01:00
Kim Silkebækken
4e4a2b2ef8 Add tips & tricks to the docs
Closes #182.
2013-02-07 12:32:34 +01:00
Kim Silkebækken
8b8de32be9 Improve vim plugin loading
Several of the plugin loading methods have been joined into one plugin
file that will be loaded by updating the runtimepath. More informative
error messages will be displayed if Python support is missing or if the
module import fails.

Note that this commit will break existing plugin loading, the new
method with updating the runtimepath will be required.

Closes #156.
Closes #181.
2013-02-07 12:14:15 +01:00
Kim Silkebækken
bfdb7f8028 Refactor segment rendering
This commit introduces the following changes to themes and segment
rendering:

- Spacer segments are now regular string/function type segments with
  "width": "auto" in the themes.
- The "rjust"/"ljust" properties have been replaced by the "width"
  option combined with a new "align" option.
- Renderer._render_segments() is now a generator which renders each
  segment separately, and assigns the rendered contents to
  "_rendered_hl" and "_rendered_raw" in the segment dict.
- Renderer.render() returns the segments by joining the "_rendered_hl"
  values for each segment.
- Spacer segment widths are calculated in the render() method, and
  assigned to "_space_left" and "_space_right" in the segment dict.
  These spaces are then applied in Renderer._render_segments().
- All space characters are converted to no-break spaces (U+00A0) in the
  "_rendered_hl" property.

Refs #113.
Refs #154.
2013-02-01 16:22:08 +01:00
Kim Silkebækken
597f67b85a Add Qtile widget 2013-01-30 10:35:01 +01:00
Kim Silkebækken
a3600158de Add a quick setup guide to the docs 2013-01-28 13:55:45 +01:00
Kim Silkebækken
bda7384aa7 Add Awesome WM widget 2013-01-28 12:30:11 +01:00
ZyX
0b251425da Add IPython prompt support 2013-01-28 06:35:56 +01:00
Kim Silkebækken
c06f8836b3 Update docs and create a common terminal feature support matrix 2013-01-25 10:48:44 +01:00
Kim Silkebækken
16b82cf070 Add configuration option and docs for 24-bit terminal colors
Closes #81.
2013-01-25 10:08:12 +01:00
Kim Silkebækken
cfe96ff010 Fix minor doc issues 2013-01-25 09:40:07 +01:00
Kim Silkebækken
e49f760510 Use hex strings for RGB colors in colorschemes
Previously you'd have to convert a hex number to an integer, this change
makes it possible to use a hex string instead which is much more useful.
2013-01-25 09:37:03 +01:00
Kim Silkebækken
6ac9f0d602 Restructure and improve installation docs
The installation docs have been split into separate guides for OS X and
Linux, with OS-specific troubleshooting as part of the installation
guide.

Terminal emulator support tables have been added to both guides.

Closes #121.
2013-01-24 17:35:16 +01:00
Kim Silkebækken
b86f79cf9e Restructure docs slightly
The header levels have been switched to correspond more with the Sphinx
suggested standards and the troubleshooting section has been
restructured to make it easier to find solutions. Minor markup changes
and other changes are also included in this commit.
2013-01-23 10:24:07 +01:00
Kim Silkebækken
40d542af12 Add troubleshooting info for PuTTy users
Refs #107.
2013-01-23 09:56:58 +01:00
Kim Silkebækken
2a9edc19ca Update troubleshooting info for ImportErrors on OS X
Refs #39.
Refs #95.
2013-01-22 18:50:37 +01:00
ZyX
f4a95fbbbf Rename prompt.* to powerline.*
Reasons:
- prompt.* is a bad name for installing into /usr/share/zsh/site-contrib
- prompt.* does not conform powerline.vim and powerline.conf (vim and tmux)
2013-01-22 20:51:26 +04:00
Kim Silkebækken
0cb218212e Update installation instructions for tmux and shell prompts 2013-01-22 17:26:43 +01:00
Kim Silkebækken
7c19381b24 Update optional dependency list 2013-01-22 14:23:21 +01:00
Kim Silkebækken
424f979136 Make it possible to return several segment in segment functions
This requires a couple of minor changes to custom segments. The segment
`highlight` key has been renamed to `highlight_group`, and segment
functions must return a list of segments dicts instead of just a dict.

Closes #88.
2013-01-22 10:58:41 +01:00
Kim Silkebækken
ced333dd29 Add note about Python 3 support in docs 2013-01-21 22:03:56 +01:00
Kim Silkebækken
bee427eb42 Add Python 3.3 support
Support for unicode literals was reintroduced in Python 3.3 which makes
supporting both Python 2 and Python 3 much easier, so this will be the
minimum supported Python 3 version.

Closes #8.
2013-01-21 20:42:57 +01:00
Kim Silkebækken
77f66cbbc9 Add additional dependency info 2013-01-21 20:38:41 +01:00
Kim Silkebækken
e64ef3c337 Fix zsh prompt example 2013-01-21 17:30:35 +01:00
Kim Silkebækken
25c5a6d978 Update zsh prompt example in docs 2013-01-21 10:53:51 +01:00
Kim Silkebækken
7be62ba563 Use code-blocks in docs 2013-01-21 10:16:34 +01:00
Kim Silkebækken
7db8aa074f Update usage docs
Refs #79.
2013-01-21 10:14:23 +01:00
なつき
4e97fd95d8 Add Pathogen/Vundle support
Closes #79.
2013-01-21 09:56:01 +01:00
Kim Silkebækken
c561922eed Add info about Gentoo Live ebuild 2013-01-20 19:49:06 +01:00
Kim Silkebækken
84edefbe2e Update docs with new module paths 2013-01-20 19:48:56 +01:00
ZyX
f1976c2022 Update docs
- Added notes about where common and extension-specific configuration is located
- Added common.paths config.json option description
- Fixed user-defined segments location found in segments section
- Fixed Themes/segments/module reference text
2013-01-20 19:39:59 +01:00
Kim Silkebækken
f108ab04c4 Update pip install URI in the docs 2013-01-20 19:15:12 +01:00
ZyX
78e54e0c84 Addd “default_module” theme key support
Refs #3.
2013-01-19 16:55:39 +01:00
Kim Silkebækken
c5b37b3913 Add troubleshooting info for iTerm2
Closes #65.
2013-01-18 16:53:32 +01:00
Kim Silkebækken
2ace41857f Update font installation instructions
Refs #60.
2013-01-18 16:44:31 +01:00
Kim Silkebækken
56f06f8871 Update font installation instructions
Refs #60.
2013-01-18 10:58:23 +01:00
Kim Silkebækken
1a99fbd36a Update terminal prompt usage instructions
Closes #56.
2013-01-17 17:07:58 +01:00
Kim Silkebækken
8a5b8719cd Escape command in prompt usage instructions 2013-01-17 10:08:51 +01:00
Kim Silkebækken
20b17cebe0 Add troubleshooting info about OSX ImportError
Closes #39.
2013-01-17 10:03:29 +01:00
Kim Silkebækken
6207f90734 Add troubleshooting info about NameError in MacVim
Refs #48.
2013-01-17 10:03:00 +01:00
Kim Silkebækken
f18bf7087d Add troubleshooting info for iTerm2 question mark issue
Closes #27.
Refs #48.
2013-01-17 10:01:48 +01:00
Kim Silkebækken
7d613baec2 Fix font patching instructions for OS X
Closes #46.
2013-01-17 10:01:11 +01:00
Kim Silkebækken
6bf501df51 Add usage instructions for terminal/tmux 2013-01-17 09:42:39 +01:00