Commit Graph

349 Commits

Author SHA1 Message Date
ZyX aa18247f7b Add note about 70-no-bitmaps.conf fontconfig configuration file
Closes #1152
2014-11-29 20:57:59 +03:00
ZyX 774ec6dd42 Add note about pip and $PATH
Closes #1189
2014-11-28 20:37:53 +03:00
ZyX f1399dc5d6 Add information about tmux green bar 2014-11-28 20:31:24 +03:00
ZyX 410dccd870 Add warning about additional_escapes option 2014-11-28 20:25:07 +03:00
ZyX 9fbd25608d Update documentation regarding `powerline-status` 2014-11-18 23:35:46 +03:00
ZyX a4fddff1fa Improve documentation of Command-T support code 2014-11-10 00:22:37 +03:00
ZyX 8cf2a86672 Add support for capslock plugin 2014-11-09 23:54:49 +03:00
ZyX 21f332bd76 Fix Debian and Wheezy first letters’ case 2014-10-26 14:19:32 +03:00
ZyX 61c2a45827 Reference debian powerline package
Fixes #1129
2014-10-25 22:55:59 +04:00
ZyX 9b03ff6936 Also add documentation for `powerline-lint` 2014-10-25 22:03:33 +04:00
ZyX bed2cc8d0f Add new documents to the main TOC tree 2014-10-25 22:03:33 +04:00
ZyX 9c57255dec Add `man` documentation target
Fixes #1131
2014-10-25 22:03:33 +04:00
ZyX b307ad7891 Fix default value of SPHINXBUILD variable 2014-10-12 19:37:59 +04:00
ZyX 2e1df4461e Update Makefile: remove unused gh-pages target and add latexpdf & help 2014-10-12 19:37:58 +04:00
ZyX 80b50733a0 Fix latex build: make some unicode characters found in help work 2014-10-12 19:37:15 +04:00
ZyX 2666491438 Document pyuv problem in troubleshooting section
Closes #5463
2014-10-12 17:03:34 +04:00
ZyX b8a4d9b054 Add some workarounds for powerline-lint 2014-10-12 16:42:06 +04:00
ZyX 26365a9620 Split powerline.segments.common into a number of modules
Note: some modules (i.e wthr and bat) have their names in order to avoid the 
situation when module name matches segment name:

    import powerline.segments.common.weather

will import weather segment because `powerline.segments.common` contains line 
`from powerline.segments.common.weather import weather`.

Fixes #1083
2014-09-21 02:00:37 +04:00
ZyX 4826c4349d Update documentation regarding xterm
Closes #420
2014-09-20 18:30:34 +04:00
ZyX 77b0695caf Replace all ASCII ' with Unicode ’ in comments and docstrings 2014-09-20 17:48:15 +04:00
ZyX 2b5e9e0dc1 Replace all ASCII double quotes with Unicode quotes in documentation 2014-09-20 17:43:19 +04:00
ZyX b94cfd98a4 Replace all ASCII apostrophs with Unicode ones in documentation 2014-09-20 17:40:33 +04:00
ZyX f073437f02 Remove the only remaining reference to `u'` string prefix 2014-09-14 14:28:52 +04:00
ZyX d14aecbc0a Use proper encoding to convert values in various places
Fixes #1072
2014-09-14 14:26:42 +04:00
ZyX 05cb133dd4 Replace g:powerline_config_path Vim variable with …_paths list
This is for consistency with other powerline bindings that now all do have a way 
to specify a list of paths.
2014-09-05 22:13:51 +04:00
ZyX 41f573659b Fix typo in label ID 2014-09-05 20:40:09 +04:00
ZyX 9eceaf3f3f Move docs/source/selectors* to the appropriate place 2014-09-05 20:39:40 +04:00
ZyX 4bcb0e154f Include tips-and-tricks for developers into develop.rst toctree 2014-09-05 20:39:22 +04:00
ZyX 51e778cd41 Always use `code-block` to format code there 2014-09-05 20:36:09 +04:00
ZyX dc5969e8df Mention `powerline-status` PyPI package in installation documentation
Fixes #1057
2014-09-05 20:33:26 +04:00
ZyX 60fb311463 Add a way to profile Vim bindings 2014-09-05 20:00:20 +04:00
ZyX 1a5bbbea96 Replace segment-local modes with highlight_group_prefix option
Fixes #1046
2014-09-05 20:00:20 +04:00
ZyX 54e12b1515 Use new functionality to replace tabbuflister and single_tab segment 2014-09-05 20:00:19 +04:00
ZyX 7bf025ca2b Add `exclude_/include_function` support
This is first step towards fixing #1046.
2014-09-05 20:00:19 +04:00
ZyX 96b2cb8f10 Fix spaces-only line in configuration.rst 2014-09-04 21:38:49 +04:00
ZyX 9947bb300a Reference sections where all segments are listed 2014-09-04 21:38:49 +04:00
ZyX ea2fd28292 Merge exclude_modes and include_modes documentation 2014-09-04 21:38:49 +04:00
ZyX b5a551eb56 Fix typos in exclude/include_modes documentation 2014-09-04 19:34:29 +04:00
ZyX 986a69481f Update documentation 2014-09-02 21:49:23 +04:00
ZyX 06211cbe63 Unify imports
Now imports follow the following structure:

1. __future__ line: exactly one line allowed:

        from __future__ import (unicode_literals, division, absolute_import, print_function)

   (powerline.shell is the only exception due to problems with argparse).
2. Standard python library imports in a form `import X`.
3. Standard python library imports in a form `from X import Y`.
4. and 5. 2. and 3. for third-party (non-python and non-powerline imports).
6. 3. for powerline non-test imports.
7. and 8. 2. and 3. for powerline testing module imports.

Each list entry is separated by exactly one newline from another import. If
there is module docstring it goes between `# vim:` comment and `__future__`
import. So the structure containing all items is the following:

    #!/usr/bin/env python
    # vim:fileencoding=utf-8:noet

    '''Powerline super module'''

    import sys

    from argparse import ArgumentParser

    import psutil

    from colormath.color_diff import delta_e_cie2000

    from powerline.lib.unicode import u

    import tests.vim as vim_module

    from tests import TestCase

.
2014-09-01 00:25:24 +04:00
ZyX aaed00e078 Fix installation notes location.
These notes are parts of the list entries.
2014-08-31 21:33:56 +04:00
ZyX 2505d0b827 Implement segment truncation
Closes #161 (requires implementation for specific segments though)
2014-08-30 18:22:52 +04:00
ZyX d6c603daf0 Add support for `segment.expand`
Closes #154
2014-08-30 18:22:46 +04:00
ZyX 875f8e98b1 Update documentation 2014-08-30 17:59:58 +04:00
ZyX f320fb3df3 Remove filler segment type
It was replaced with `"width": "auto"` and is not used anywhere. I do not even 
know whether it works.
2014-08-30 16:08:30 +04:00
ZyX 41476544ca Replace `name` and `module` keys with `function` key
Fixes #1031
2014-08-29 23:13:10 +04:00
ZyX 356cb43ea2 Add `powerline_segment_datas` attribute
Fixes #1035
2014-08-29 20:17:23 +04:00
ZyX 67845dc96e Add documentation for segment attributes 2014-08-29 20:17:23 +04:00
ZyX 8f70811768 Add another answer to troubleshooting section 2014-08-27 23:52:09 +04:00
ZyX fe6cd47bdd Also add “Shell issues” section 2014-08-27 23:52:09 +04:00
ZyX dfb08fad5a Separate some issues into “Vim issues” section in troubleshooting 2014-08-27 23:52:09 +04:00
ZyX 285a6aa3ce Fall back to ASCII-only theme in case of non-unicode locale 2014-08-27 23:52:09 +04:00
ZyX d32b798c11 Add `use_non_breaking_spaces` theme option, use it in ascii theme 2014-08-27 23:52:09 +04:00
ZyX 37546f4ad2 Update shell powerline client OSX requirements in documentation 2014-08-26 19:31:10 +04:00
Matthew M. Keeler 88515ab472 Show Count of Attached Tmux Sessions
- This segment displays the number of attached tmux clients to the
  currently running session.
- The minimum argument is used to specify a threshold for when the
  segment should be visible.

Fixes #661
Closes #662

Conflicts:
	docs/source/index.rst
	powerline/config_files/colorschemes/shell/default.json
	powerline/config_files/colorschemes/shell/solarized.json
	powerline/config_files/colorschemes/tmux/default.json
	powerline/config_files/colorschemes/vim/default.json
	powerline/config_files/colorschemes/vim/solarized.json
	powerline/config_files/colorschemes/wm/default.json
	tests/test_segments.py
2014-08-24 20:56:59 +04:00
ZyX f4e49e2ee6 Make powerline autodoc add all Segments 2014-08-24 19:50:54 +04:00
ZyX 6a8074a3d3 Update information about Vim version 2014-08-24 13:37:20 +04:00
ZyX 03c22e94a7 Make tcsh check whether some variables are defined or empty
Makes it consistent with other shells
2014-08-23 15:19:00 +04:00
ZyX 8e77262f2d Perform shell word splitting in zsh bindings
This makes POWERLINE_COMMAND be consistent across various bindings.
2014-08-23 15:19:00 +04:00
ZyX 28bcb01345 Update documentation 2014-08-19 22:24:10 +04:00
ZyX a792fb0e1c Add support for `draw_inner_divider` in listers 2014-08-16 14:25:12 +04:00
ZyX 6106e914e3 Remove duplicate documentation of draw_inner_divider 2014-08-16 14:00:08 +04:00
ZyX 407a8bca7e Fix incorrect description of draw_inner_divider 2014-08-16 13:59:00 +04:00
ZyX ac7a9596ab Remove nonlocal image URLs from overview 2014-08-16 13:46:14 +04:00
ZyX d1782d4aaf Add documentation about creating listers 2014-08-16 13:43:22 +04:00
ZyX c3099ce48b Add lister reference 2014-08-16 13:22:31 +04:00
ZyX 402cc9e911 Also show documentation for plugin-specific segments 2014-08-16 13:21:46 +04:00
ZyX 24938e0bb9 Remove duplicate information from configuration/segments.rst 2014-08-16 13:06:19 +04:00
ZyX 0848f7d801 Document how to create extensions
Fixes #287
2014-08-15 19:44:27 +04:00
ZyX b5b91afcae Document how to create Vim local themes 2014-08-15 19:17:51 +04:00
ZyX f0ccb2dcb8 Fix path to __main__ theme 2014-08-15 19:17:51 +04:00
ZyX 1a1a8410d2 Add information about shell and ipython local themes 2014-08-15 19:17:50 +04:00
ZyX 86ddb38bf4 Add information about writing segments
Fixes #629
Ref #287
2014-08-15 19:17:50 +04:00
ZyX df19fe2701 Mention `showtabline` option in Vim tips and tricks 2014-08-15 19:17:50 +04:00
Andreas Schneider 538a41b25a docs: Fix building the docs without RTD theme.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-08-13 17:40:11 +02:00
ZyX 89afac44bb Add support for PS2 and PS3 prompts outside of zsh 2014-08-12 08:04:35 +04:00
ZyX 547306e746 Add cursor_space and cursor_columns configuration options
Fixes #815
2014-08-10 21:03:33 +04:00
ZyX b8049fab87 Add ext.*.components configuration support
Also fixes various problems in shell bindings.

Closes #969
2014-08-10 16:26:22 +04:00
ZyX 5c5407cffd Make libzpython bindings accept multiple paths when using overrides 2014-08-10 16:13:33 +04:00
ZyX 17b32b1765 Make ipython accept paths, not a single path 2014-08-10 16:13:32 +04:00
ZyX 757e563250 Place labels before labeled key name, not before the description 2014-08-09 12:18:04 +04:00
ZyX d4735c87df Fix labels in configuration/reference.rst 2014-08-06 12:48:17 +04:00
ZyX c3e6329262 Add description of shipped themes to documentation 2014-08-06 03:09:31 +04:00
ZyX b0093c6b67 Implement single-level merging of “args” dictionaries 2014-08-06 00:24:30 +04:00
ZyX bdde4ae99f Implement theme hierarchy
Fixes #783
2014-08-06 00:05:04 +04:00
ZyX 66e0999147 Document configuration merging 2014-08-05 13:56:02 +04:00
ZyX ead7e3f0fe Add troubleshooting information discovered in #946 2014-08-03 18:56:14 +04:00
ZyX 70ae12b512 Added tabline support
No tests for it yet
2014-08-03 12:53:15 +04:00
ZyX d5081acf38 Add note about minibufexpl
Closes #230
2014-08-03 03:22:34 +04:00
ZyX 5173246a93 Add note about automatic vimrc resourcing
Ref #297
Ref #296
Closes #213
2014-08-03 03:22:25 +04:00
ZyX 2e34e1914c Add code for Vundle installations and related warning
Ref #414
Closes #378
2014-08-03 03:06:39 +04:00
ZyX 74d19b4f52 Add font installation instructions 2014-08-03 03:06:39 +04:00
ZyX 62a815bddf Fix segment_data key description in configuration reference 2014-08-03 03:06:39 +04:00
ZyX 29a467696d Fix styling of rxvt-unicode tips 2014-08-03 03:06:39 +04:00
esn89 14f2beea91 Added Source Code Pro documentation.rst
Added a short blurb on Source Code Pro and how to make the glyphs show up.

Closes #460
2014-08-03 03:06:39 +04:00
ZyX 207c24a9f5 Add note about `https://` protocol
Closes #881
2014-08-03 03:06:39 +04:00
ZyX 963823d660 Increase depth to 3
Reason: this way I have anything I want in one click. Less precise toctree is in
any case present in the side bar.
2014-08-03 03:06:39 +04:00
ZyX a7d3fdd3d1 Add note about ``tmux -2``
Closes #847
2014-08-03 03:06:38 +04:00
ZyX b6be30470b Remove timeout tip
Closes #808
Closes #266
2014-08-03 03:06:31 +04:00
ZyX cbcfd317a6 Update terminal support matrix
Fixes #763
Closes #660
2014-08-03 02:43:35 +04:00
ZyX c043fa5e22 Copy documentation from old variant
Note: fontpatcher documentation was removed.

Closes #632
Closes #769
2014-08-03 02:43:35 +04:00
Kim Silkebækken c2379df50a Remove old docs and update documentation structure
Most of the files are empty and need to be copied or rewritten from the
old docs. Font patching docs have been removed entirely and will be
moved to the powerline-fontpatcher repo.

Ref #769
2014-08-03 02:43:35 +04:00
Kim Silkebækken ecb3b690db Add updated font installation docs 2014-08-03 02:43:30 +04:00
Kim Silkebækken 151b3f1117 Use readthedocs theme for docs 2014-08-02 22:46:37 +04:00
ZyX 8bc5bb3ff4 Update documentation 2014-08-02 22:30:54 +04:00
ZyX a27f90df62 Add a note about not fully working --editable to linux.rst 2014-08-02 18:53:24 +04:00
ZyX 16c01e8d64 Add support for display option 2014-08-02 18:37:22 +04:00
ZyX 191c71cf53 Do not let powerline trigger loading wrong python
Used python version is controlled by `g:powerline_pycmd`. User configuration now
has top priority: if `g:powerline_pyeval` is set powerline will not try to use
`pyeval()` emulation in old Vim versions.

Closes #937 as WONTFIX
2014-07-29 14:57:55 +04:00
ZyX c91a0fa769 Remove note about Gentoo ebuild
It is not hosted in this repo any longer.
2014-07-29 14:31:17 +04:00
ZyX 8c7908c131 Merge commit 'HEAD@{2}' (PR #802, squashed) into develop
Closes #935
Ref #302
Closes #300
Merges #802
Ref #769
2014-07-28 03:24:20 +04:00
ZyX a8da67e2aa Add various other shell implementations support
Tested in busybox, mksh, ksh and dash. Ksh has issues described in 
troubleshooting.
2014-07-20 00:24:12 +04:00
ZyX 7f94583324 Make attr colorscheme group key required 2014-07-12 12:20:40 +04:00
ZyX d72e4f5081 Update documentation 2014-07-12 12:20:40 +04:00
ZyX 2f7c44c29c Document how to create gradient colors 2014-07-10 18:35:24 +04:00
ZyX c570a98065 Add watcher option
Ref #818
2014-06-28 21:10:15 +04:00
ZyX 43ca0e828d Fix documentation 2014-06-28 17:36:41 +04:00
ZyX-I 828c953f84 Merge pull request #880 from ZyX-I/powerline-config-script
[RFC] Powerline config script
2014-06-25 21:58:04 +04:00
ZyX-I 35522b1511 Merge pull request #893 from ZyX-I/multiline-prompt
Multiline prompt support

Fixes #462
2014-06-24 23:50:03 +04:00
ZyX 9a4e1edfbc Update documentation 2014-06-24 21:38:07 +04:00
ZyX 90afccb219 Add note about lags to troubleshooting-common.rst 2014-06-23 21:09:15 +04:00
ZyX 490398675f Update documentation
Closes #872
2014-05-24 13:59:20 +04:00
Austin Beam f39b1dcf20 tmux: Enhance version checking for tmux
tmux configuration has become very fragmented between versions due to a
combination of new features and deprecation of older options. As such,
version checking for tmux became a requirement to allow maximum
functionality along with version-appropriate configuration. However,
wrapping nearly every line with `if-shell` is tedious and becomes
virtually unreadable.

This enhancement to tmux version-checking creates a logical
configuration file structure that reflects the development of tmux. As
additional configurations are added and tmux development continues, this
structure can be leveraged appropriately and extended as needed.

Rather than having multiple `if-shell` checks for the same version, each
version or version group with specific requirements can be checked only
once. This leads to simpler and fewer `if-shell` version checks. It also
reduces the ambiguity introduced by complex `if-shell` commands that
include an 'else' conditional.

A caveat to adding this enhancement is the additional requirement of the
end user to add a tmux variable definition (`POWERLINE_BINDINGS_DIR`) to
his/her `~/.tmux.conf` file. For existing tmux users leveraging
powerline, this may prove to be a slight one-time nuisance immediately
after upgrading. Without this definition, there is no way to determine
the location of the additional tmux powerline config files that have
been added with this enhancement. The docs have also been updated in
this commit to reflect this initial configuration requirement change.
Also added are some additional troubleshooting notes that point to
definition of this variable as a potential issue. Powerline will
continue to work without the definition of `POWERLINE_BINDINGS_DIR`, but
some of the functionality will be reduced and the appearance incomplete
(i.e. colors).

Ultimately, the caveat above is a small price to pay in exchange for a
framework that can be leveraged for proper version-appropriate
configuration of tmux going forward.
2014-05-06 00:12:10 -05:00
ZyX 032a363b81 Allow disabling prompt and/or tmux support in shells
Fixes #849
2014-05-04 13:30:43 +04:00
ZyX be2fe98a21 Add support for omitting VALUE
This will remove error reported in #853, but not its cause
2014-05-04 13:01:29 +04:00
ZyX-I cf4c1e05ad Merge pull request #365 from kierun/develop
Added terminus font and urxvt documentation.
2014-02-16 03:30:35 +03:00
ZyX 7ab74ab73b Remove duplicate troubleshooting question 2014-02-16 00:41:44 +04:00
ZyX 7e65332ddf Remove outdated information from troubleshooting 2014-02-16 00:37:17 +04:00
ZyX 13df3d376e More improved troubleshooting 2014-02-16 00:36:57 +04:00
ZyX 8041ea0956 Some style fixes 2014-02-15 21:01:14 +04:00
Josh Turmel bf89ac6644 Update font patching documentation
Update reference to where fontpatcher.py is located
2014-02-13 22:49:13 -06:00
S0lll0s def68a2dc2 Update documentation to include i3 instructions 2014-02-09 12:45:01 +01:00
ZyX ba41b1f70c Add troubleshooting questions regarding updating 2014-01-25 13:08:13 +04:00
ZyX e489e549a6 Move setup to powerline-setup.fish
This file is supposed to be placed in /usr/share/fish/functions.
2014-01-23 19:32:19 +04:00
ZyX 972bd45c21 Make fish bindings feature complete, add documentation
Added features:
- Updating TMUX_PWD_* when PWD variable changes
- Updating TMUX_COLUMNS_* when WINCH signal is received
2014-01-19 17:45:52 +04:00
ZyX 49d8376845 Document problem found when exploring #749 2014-01-19 16:27:12 +04:00
Ryan Collins 40fe3cf938 A lowercase f for the unit caused the weather segment to silently fail. Putting in a capital F works correctly 2014-01-17 00:15:37 -05:00
ZyX-I d5720bfff8 Merge pull request #682 from toresbe/patch-1
Make clearer the naming conflict in PyPI (closes #681)
2014-01-10 09:35:32 -08:00
ZyX-I a145b11d85 Merge pull request #697 from ZyX-I/zsh-bindings-small-update-1
A few fixes to zsh bindings
2014-01-10 09:20:34 -08:00
ZyX ccf070cbcd Remove Gentoo ebuild and reference raiagent overlay 2013-12-01 14:23:29 +04:00
ZyX 3746548418 Do not mention zpython branch
It is not usable due to some bugs, not maintained and replaced by 
powerline-client
2013-11-04 23:16:45 +04:00
Tore Sinding Bekkedal 561b715824 Make clearer the naming conflict in PyPI (closes #681) 2013-10-16 01:42:07 +02:00
Aaron Schrab 0ffe6da4e6 Option to suppress error in python-less vim
If the g:powerline_no_python_error variable is set don't issue an error
message even if vim doesn't have the required Python support.  This
allows a common set of configuration files to be used across systems
where some of the copies of vim don't meet the requirements.
2013-08-20 09:33:32 -04:00
mwcz 17435ecf90 Fix documented path to fontpatcher.py 2013-06-28 13:55:28 +02:00
ZyX baa44475e5 Add note about POWERLINE_COMMAND to documentation 2013-05-24 07:21:40 +04:00
ZyX 658232a1aa Update documentation 2013-05-19 13:17:58 +04:00
ZyX 2a6a4a07e6 Replace {path} with {repository_root}
Closes #429
2013-04-16 07:58:24 +04:00
ZyX 7e57010c19 Move some code from powerline_autodoc to powerline.lib.inspect
To make it available later in lint checker.
2013-04-13 00:09:00 +04:00
ZyX a8eb0a2471 Special-case None priority in place of -1
This extends priorities in both directions, uses slightly faster `is None`
check, makes it consistent with `interval` special-casing also to `None` and
makes lint able to use one simple `.type()` check in place of `.either()` one.
2013-04-12 23:45:48 +04:00
ZyX 587789ebda Fix documentation for ThreadedSegment classes with @staticmethod’s 2013-04-12 23:45:47 +04:00
ZyX 9250d794d7 Remove `pl` argument and first argument to `render*` from docs 2013-04-12 23:45:47 +04:00