Commit Graph

1408 Commits

Author SHA1 Message Date
ZyX b99ad3904e Remove some __nonzero__ methods in tests/vim.py
Just __len__ is good enough here
2014-08-03 12:53:15 +04:00
ZyX 07c533d1b2 Test tabline in test_tabline.vim file 2014-08-03 12:53:15 +04:00
ZyX ff91ff7f92 Update tests to work with new functionality
Still no tests for new functionality.
2014-08-03 12:53:15 +04:00
ZyX 70ae12b512 Added tabline support
No tests for it yet
2014-08-03 12:53:15 +04:00
ZyX 0ecd10ffb2 Add ability to copy recursive specifications 2014-08-03 12:53:15 +04:00
ZyX 23ec5efb41 Fix required keys handling: do not require more keys then required 2014-08-03 12:53:15 +04:00
Nikolai Aleksandrovich Pavlov fc40c80be2 Merge pull request #947 from magus424/feature/556-line_count-segment
Added line_count segment for vim.

Closes #556
2014-08-03 10:40:01 +04:00
Collin Grady f615d85172 Added line_count segment for vim.
Returns total number of lines in current buffer.

Addresses #556
2014-08-03 05:54:57 +00:00
Nikolai Aleksandrovich Pavlov da6667bd14 Merge pull request #945 from ZyX-I/update-docs
Update documentation
2014-08-03 03:40:26 +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
Nikolai Aleksandrovich Pavlov 1d696d3d4c Merge pull request #944 from ZyX-I/feature/daemon
Add powerline-daemon

Closes #827
Fixes #616
Closes #170
2014-08-02 22:37:03 +04:00
ZyX 8bc5bb3ff4 Update documentation 2014-08-02 22:30:54 +04:00
ZyX 4ddac2a2f5 Do not run `set-environment` in tmux if POWERLINE_COMMAND is set 2014-08-02 22:30:54 +04:00
ZyX ea7f3b6501 Add powerline-daemon --quiet 2014-08-02 22:20:06 +04:00
ZyX 44cca97566 Check whether daemon log is as empty as it should 2014-08-02 22:03:22 +04:00
ZyX 28aee92c51 Fix zsh daemon tests: disable hostname and user before testing select
Reason: hostname and user do not have stable width and select prompt width with 
daemon depends on previous prompt width.
2014-08-02 21:56:37 +04:00
ZyX 9da3e04bc2 Do not hardcode scripts/powerline in input.* 2014-08-02 21:31:01 +04:00
ZyX f3d972849e Fall back to powerline-render when using powerline.sh 2014-08-02 21:31:01 +04:00
ZyX fed43e8af5 Run shell tests with and without daemon 2014-08-02 21:31:01 +04:00
ZyX 9290c2a23b Make daemon work with aboveleft shell key 2014-08-02 21:31:01 +04:00
ZyX 8374a66ca7 Also use the same code for tmux 2014-08-02 21:31:00 +04:00
ZyX 05384e31e4 Add `powerline-config shell command` and use it in all shell bindings 2014-08-02 21:31:00 +04:00
ZyX 925d3eb0e4 Show exception in setup.py and try to fall back to powerline.sh 2014-08-02 21:31:00 +04:00
ZyX 95dcef8bf8 Some style fixes 2014-08-02 21:30:51 +04:00
ZyX 3b060562e2 Fix UnicodeDecodeError in Python version of powerline client 2014-08-02 19:46:04 +04:00
ZyX e37b13cc44 Remove compiled binary from repository 2014-08-02 18:56:44 +04:00
ZyX e613beb8df Add shell version of powerline-client
Note: this shell script is still faster then client/powerline.py. `time` reports 
      0.00, 0.01, 0.02÷0.03 for powerline, powerline.sh and powerline.py 
      respectively (run with `./client/powerline* tmux right`).

Note: does not work in busybox as env there does not support -0 argument. 
      Requires sed, id (for dash as $UID is not available there), env, printf 
      and socat. Is not currently handled by setup.py.
2014-08-02 18:53:25 +04:00
ZyX 7db428667c Get rid of modeline E518 error 2014-08-02 18:53:25 +04:00
ZyX a27f90df62 Add a note about not fully working --editable to linux.rst 2014-08-02 18:53:24 +04:00
ZyX 21ee641a02 Do not use scripts=[] to install powerline at all. 2014-08-02 18:53:24 +04:00
ZyX 75536825ba Use powerline/powerline-render pair in place of powerline-client/powerline 2014-08-02 18:52:52 +04:00
ZyX c1d290b570 Use data_files on python-3 2014-08-02 18:45:43 +04:00
Kim Silkebækken a122e73b9b Add files from @kovidgoyal's powerline-daemon repo
Minor changes have been applied:

- Removed copyright info and GPL 3 license since Powerline is MIT (needs
  confirmation from kovidgoyal before merge)
- The `powerline-client` script is renamed to `powerline`, and calls the
  daemon or `powerline-render` (the previous `powerline`) to render
  a statusline
- Minor coding style corrections to match the rest of the project
- Python 3 support is removed for now due to setuptools failing with
  binary scripts

Todo:

- Automatically attempt to launch powerline-daemon the first time
  powerline is run if the daemon isn't already running?
- pip install -e fails with binary files (it appears that pip recodes
  the powerline binary to ASCII, the compiled powerline script must be
  copied manually to ~/.local/bin after pip install -e has been run)
2014-08-02 18:45:18 +04:00
ZyX 6430877ec9 Merge branch 'trailing-whitespace-warning' into develop
Closes #943
2014-08-02 18:42:10 +04:00
ZyX 9e8c115eea Add trailing whitespace segment
Note: by default this segment is disabled. Until #923 it may only be enabled by
copying the whole file and changing "enabled" to "true". After #923 it may be
enabled by having `~/.config/powerline/themes/vim/default.json` with the
following contents:

    {
        "segment_data": {
            "trailing_whitespace": {
                "display": true
            }
        }
    }

Fixes #388
2014-08-02 18:39:16 +04:00