mirror of
https://github.com/powerline/powerline.git
synced 2025-07-22 13:25:13 +02:00
- Fixed user segment (windows): there is no os.geteuid() here - Fixed dir_limit_depth in cwd segment (it was not really accepting None value) - Made paste_indicator not use getbufvar for global option - Made file_size use buffer name for cache key - Made a number of segments coerce returned integer values to strings - Fixed modified_buffers (getbufvar() returns empty string for deleted buffers, but int() does not accept empty string) - Fixed file_directory and file_name segments: they were not working in python-3.3 because str() object has no attribute decode() - Made powerline.lib.vcs.git.Repository.status() always return 3-characters string - Made it always check both for dirty index and dirty wt for all files - Fixed binary prefix handling, renamed it to si_prefix Previously there was the following when binary_prefix was False: div = 1024 unit = kB (unit is inconsistent with div). Now it is the following when si_prefix is False: div = 1024 unit = KiB (according to https://en.wikipedia.org/wiki/Binary_prefix IEC prefix kibi is abbreviated as Ki, not ki (note the case)). This means that in segments prefixes has changed, but not displayed values.
Powerline ========= :Author: Kim Silkebækken (kim.silkebaekken+vim@gmail.com) :Source: https://github.com/Lokaltog/powerline :Version: beta This is the upcoming version of Powerline, implemented in Python. The project is currently in a stable beta and almost ready for release. * Consult the `documentation <https://powerline.readthedocs.org/en/latest/>`_ for more information and installation instructions. * Check out `powerline-fonts <https://github.com/Lokaltog/powerline-fonts>`_ for pre-patched versions of popular coding fonts. Screenshots ----------- Vim statusline ^^^^^^^^^^^^^^ **Mode-dependent highlighting** * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-normal.png :alt: Normal mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-insert.png :alt: Insert mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-visual.png :alt: Visual mode * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-replace.png :alt: Replace mode **Automatic truncation of segments in small windows** * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate1.png :alt: Truncation illustration * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate2.png :alt: Truncation illustration * .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate3.png :alt: Truncation illustration ---- The font in the screenshots is `Pragmata Pro`_ by Fabrizio Schiavi. .. _`Pragmata Pro`: http://www.fsd.it/fonts/pragmatapro.htm
Languages
Python
90.7%
Shell
7.1%
Vim Script
1.8%
C
0.4%