ZyX
35e723e093
Move code to powerline.vim.setup
2013-05-19 13:17:58 +04:00
ZyX
0823f29f7d
Remove unused purgeonevents_reg and launchevent
2013-05-19 13:17:58 +04:00
ZyX
9f20fb1f3f
Move some functions from VimL to python code
...
Should be faster with new interfaces, but that is not the case
Should remove zero that can be viewed temporary in place of statusline in new
windows
Target: ressurect setup function like source_plugin (but in place of sourcing
something code is moved to python) to make it possible to do the following
sequence:
1. Install powerline via pip
2. Add a line to the vimrc like
py from powerline.vim import setup as setup_powerline; setup_powerline(); del setup_powerline
3. See new fancy statusline
Currently there are no convenient options to use powerline installed by pip in
vim. powerline/bindings/vim/plugin/powerline.vim will do what it does: check for
appropriate python versions available, fix sys.path and so on, but it won’t
create autocommands, set options or define PowerlinePyeval function.
Note: may be rebased on top of the develop.
2013-05-19 13:17:58 +04:00
Kim Silkebækken
e3ed3aba6c
Merge branch 'fix-git-errors' into develop
2013-05-15 14:36:48 +02:00
Kovid Goyal
459370d71d
Fix #489
2013-05-15 14:36:09 +02:00
Kovid Goyal
235d6d3652
Fix #494
2013-05-15 14:35:58 +02:00
Andreas Klöckner
4c4b7a2bb6
Make docs match actual default.
2013-05-13 03:56:55 -03:00
Kim Silkebækken
72ea6730ea
Merge remote-tracking branch 'zyx-i/zsh-emulate' into develop
2013-05-06 17:20:05 +02:00
ZyX
f83ca080ba
Fix typo in scripts/powerline
2013-05-06 19:13:31 +04:00
ZyX
ee48836f7c
Always return true in install.sh
2013-05-06 19:13:00 +04:00
ZyX
f3d7a6394b
decode takes no keyword arguments in python-2.6
2013-05-06 19:13:00 +04:00
ZyX
ba33c327f5
Add __contains__ method
...
Fixes #471
2013-05-06 19:13:00 +04:00
ZyX
98b7ed2950
Reset emulate call:
...
- only emulate -L causes options to be restore after function call
- using setopt outside of functions does not reintroduce #342
2013-05-06 19:13:00 +04:00
Kim Silkebækken
4d5d92dda2
Merge remote-tracking branch 'zyx-i/powerline-daemon' into develop
2013-05-06 15:37:44 +02:00
Kim Silkebækken
1527da10a7
Merge remote-tracking branch 'kovidgoyal/vcs' into develop
2013-05-06 15:33:08 +02:00
Kovid Goyal
cdbe85bbde
Add a debug() function to allow command line debugging of the vcs code
2013-05-04 09:43:17 +05:30
Kovid Goyal
41783344a8
Turn off status colors by default in vim as well
2013-05-04 08:21:28 +05:30
Kovid Goyal
af018120e1
Forgot to move the import to module level
2013-05-03 10:50:57 +05:30
Kovid Goyal
7b495aff0c
Fix tests failing if inotify not available
2013-05-03 10:34:50 +05:30
Jacob Walker
ed65d34e1a
Segment to Print Environment Variables
...
- Added segment function to powerline.segments.common.
- Added test to check return values.
- Added default colorschemes for everything but iPython.
Ref #477
2013-05-02 09:35:13 -05:00
ZyX
495f87a527
Remove debugging lines
2013-05-02 16:06:52 +04:00
ZyX
467bc53589
Also fix bash tests
2013-05-02 16:01:44 +04:00
ZyX
b78a8cea14
Fix tmux tests
2013-05-02 15:47:05 +04:00
ZyX
26ad068265
Fix tmux cwd segment
...
Fixes #467
Still needs colors for cwd:current_folder, cwd and cwd:divider
2013-05-02 15:19:56 +04:00
ZyX
a202072292
Use deepcopy in powerline.lib.config
2013-05-02 14:55:31 +04:00
ZyX
4c426df5e0
Move --config and --theme_option processing to finish_args
2013-05-02 14:13:43 +04:00
Kovid Goyal
ad55daf9c3
Make vcs segments *much* faster
...
Do not call vcs status unless the relevant files have changed.
Uses inotify, if available, otherwise falls back to stat() based
monitoring. Fixes #396
2013-05-02 11:13:54 +05:30
Kim Silkebækken
7ccab8e436
Merge remote-tracking branch 'zyx-i/readd-pl-argument' into develop
2013-04-21 21:28:50 +02:00
ZyX
6ecba94b9a
Added missing pl argument
...
It is a problem with git automatic merging.
2013-04-21 00:38:26 +04:00
Kim Silkebækken
18a05b4445
Merge remote-tracking branch 'zyx-i/record-last_exit_code' into develop
2013-04-20 17:00:52 +02:00
Kim Silkebækken
51d64b76e9
Merge remote-tracking branch 'zyx-i/improved-generate_gradients' into develop
2013-04-20 16:58:07 +02:00
Kim Silkebækken
02eee6f54e
Merge remote-tracking branch 'zyx-i/virtcol-current-gradient' into develop
...
Conflicts:
tests/vim.py
2013-04-20 16:57:37 +02:00
Kim Silkebækken
badc2cf891
Merge remote-tracking branch 'zyx-i/doc-lint' into develop
2013-04-20 16:56:43 +02:00
ZyX
1df447ebc1
Record last exit code before running anything
...
Otherwise powerline receieves value from the previous command in
_powerline_prompt function.
2013-04-18 07:40:31 +04:00
ZyX
2a6a4a07e6
Replace {path} with {repository_root}
...
Closes #429
2013-04-16 07:58:24 +04:00
ZyX
18579d70a6
Fix TypeError seen in older vim versions
2013-04-14 13:23:25 +04:00
ZyX
bd0546d688
Add virtcol_current textwidth-based gradient
2013-04-13 19:37:43 +04:00
ZyX
cce79fda0e
Add support for getbufvar('%') and &textwidth option to vim emulation
2013-04-13 19:37:23 +04:00
ZyX
1ffa8a471a
Add GREEN_Orange_red gradient for solarized
2013-04-13 19:36:19 +04:00
ZyX
a5210d800c
Add dark_GREEN_Orange_red gradient
...
Generated with
./tools/generate_gradients.py 22 58 94 52 --weights '60 15 10 2'
. For use in virtcol_current.
2013-04-13 19:36:04 +04:00
ZyX
2d036c0de8
Fix indentation of dictionaries
2013-04-13 19:35:25 +04:00
ZyX
b883ac6ee8
Use same modeline in scripts/* as in other files
2013-04-13 19:34:55 +04:00
ZyX
9e518ab682
Improve generate_gradients tool
...
Changes:
- Port argument parsing to argparse
- Add weights support
- Add ability to specify cterm palette
- Purge out first 16 colors from color choosing by default
- Improve different scales and different preview length support
2013-04-13 19:33:41 +04:00
ZyX
a4c59ded76
Make tests more verbose and catch first KeyboardInterrupt
2013-04-13 15:44:08 +04:00
ZyX
25627363b0
Do not use second argument to itertools.count in other place
2013-04-13 15:16:45 +04:00
ZyX
4449489e59
Do not use second argument to itertools.count
2013-04-13 15:08:27 +04:00
ZyX
5e93d20fb8
Do not sort segments that are always included
2013-04-13 15:05:39 +04:00
ZyX
ae691b7cd8
Improve shown errors
2013-04-13 14:47:39 +04:00
ZyX
fee328666f
Improve arguments checks
2013-04-13 14:20:54 +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