Commit Graph

331 Commits

Author SHA1 Message Date
ZyX afcd8e4f46 Fix typo in rcsh support documentation 2015-01-08 16:50:48 +03:00
ZyX 0c37948c37 Allow --foreground to be used with --replace
Fixes #1235
2015-01-08 16:48:42 +03:00
ZyX c6bf5fb512 Add support for Byron Rakitzis’ rc shell reimplementation
Fixes #1238
2015-01-08 03:32:13 +03:00
Nikolai Aleksandrovich Pavlov c9d1b81954 Merge pull request #1249 from ZyX-I/refactor-overrides
Refactor overrides
2015-01-07 18:36:12 +03:00
ZyX 3c21c0f459 Fix Linux installation instructions
Fixes #1251
2015-01-07 15:20:29 +03:00
ZyX bac851bcc9 Add ``powerline-status`` to OS X installation documentation 2015-01-07 15:17:40 +03:00
ZyX 21e6e5ba5d Make installation docs mention powerline-status first, reword them 2015-01-07 15:15:31 +03:00
ZyX c3e6c2aeab Make POWERLINE_COMMAND a single path without arguments
Ref #1201
2015-01-07 15:07:27 +03:00
ZyX df5f5e9a7d Ignore empty elements in POWERLINE_CONFIG_PATHS
Ref #1201
2015-01-07 04:27:40 +03:00
ZyX 4d35167b13 Avoid using overrides in $POWERLINE_COMMAND 2015-01-07 01:14:20 +03:00
ZyX 2b880c4a54 Suggest using old-style overrides for testing purposes only 2015-01-07 01:09:53 +03:00
ZyX 917dfed842 Take overrides from environment variables
Ref #1201
2015-01-07 01:09:53 +03:00
ZyX 1451b4261f Rename `paths` IPython override to `config_paths`
Fixes #1126
2015-01-07 01:09:53 +03:00
ZyX de064558a1 Rename `POWERLINE_THEME_CONFIG` to `POWERLINE_THEME_OVERRIDES`
Ref #1126
2015-01-07 01:09:53 +03:00
ZyX 45ccbee171 Use singular --*-override form for command-line overrides
Ref #1126
2015-01-07 01:09:52 +03:00
ZyX 1c29ea3f8c Use g:powerline_theme_overrides dictionary in place of g:…overrides__
Ref #1126
2015-01-06 20:48:39 +03:00
ZyX 09afbc4655 Replace underscores with dashes in long options
Fixes #1125
2015-01-06 16:29:54 +03:00
ZyX 16bf16478c Rename `POWERLINE_CONFIG` to `POWERLINE_CONFIG_OVERRIDES`
Fixes #1124
Ref #1126
2015-01-06 16:19:47 +03:00
ZyX b17d03e688 Rename `POWERLINE_CONFIG` to `POWERLINE_CONFIG_COMMAND` where appropriate
Ref #1124
2015-01-06 16:16:39 +03:00
ZyX c868f9c255 Rename `attr` to `attrs`
Fixes #1199
2015-01-06 16:05:01 +03:00
ZyX 8d05003849 Rename `highlight_group` key to `highlight_groups`
Ref #1199
2015-01-06 15:57:49 +03:00
ZyX 4e6b0a7ec8 Remove Control-P plugin support
If somebody needs to readd it he should make better code, specifically:

- Functions and variables necessary for supporting Control-P need to be defined 
  in a separate initialiazation function that is only called if Control-P was 
  found.
- Segments that show different information must be defined as separate segments 
  that may be put into configuration file.
- Segment functions must not know side they are on.
- Segment functions must not emit `priority`, it must go to configuration file.
- Segment functions must have proper documentation.
- Segment functions must not emit `width` and `align` keys.
- String `Loading...` or the equivalent must be overridable from configuration, 
  same for other interface strings (e.g. what is shown  when `regex` is true).
- Segment functions must have names that make it clear what they emit.

Closes #1244
2015-01-06 03:57:38 +03:00
ZyX 1c1d33dbbf Create a way to log to the list in Vim 2015-01-06 01:39:23 +03:00
ZyX 6f999cb291 Update list of supported python implementations in installation.rst 2014-12-08 21:52:54 +03:00
Nikolai Aleksandrovich Pavlov 6633f27a28 Merge pull request #1223 from ZyX-I/move-powerline
Update various URLs: powerline has moved to github.com/powerline
2014-12-08 08:37:39 +03:00
ZyX db5d87f9e3 Update various URLs: powerline has moved to github.com/powerline 2014-12-07 16:08:24 +03:00
ZyX cd4cae83ba Mention powerline_unicode7 in documentation 2014-12-07 03:20:03 +03:00
ZyX e969f43f2a Add troubleshooting question about powerline_unicode7 player symbols 2014-12-06 19:28:58 +03:00
Nikolai Aleksandrovich Pavlov d2a1106c04 Merge pull request #1206 from ZyX-I/fbterm-support
Add support for fbterm
2014-12-06 17:08:41 +03:00
ZyX f3c8413043 Add a warning about UCS-2 builds to the documentation 2014-12-05 22:38:22 +03:00
ZyX aeba94b02d Add support for fbterm
No tests yet, also no tests for term_truecolor.
2014-12-01 00:57:29 +03:00
ZyX ebe5fca377 Reorder pip arguments in installation documentation
`--editable`/`-e` pip argument is accepting an argument, not specifying the
action.
2014-11-30 04:26:24 +03:00
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