Commit Graph

150 Commits

Author SHA1 Message Date
Bailey Ling
a8692a7b97 autogenerate bg colors for the file indicator. resolves #131. 2013-08-18 03:25:24 +00:00
Bailey Ling
45f0d896e9 move all theme variables into a single dictionary 2013-08-18 00:59:49 +00:00
Bailey Ling
1584ee79f6 add missing space 2013-08-17 23:56:50 +00:00
Bailey Ling
f938159d0d fix inactive responding to modified, fix trimming 2013-08-17 22:03:50 +00:00
Bailey Ling
e7c5bbb671 remove auto prefix. optimize getwinvar 2013-08-17 17:39:36 -04:00
Bailey Ling
3814c21125 optimize newing up the builder 2013-08-17 16:44:53 -04:00
Bailey Ling
3fbdd28e5d add profiler. optimize separator highlighting. 2013-08-17 17:35:06 +00:00
Bailey Ling
47bfeee3ae fix separator colors for inactive splits 2013-08-17 15:12:01 +00:00
Bailey Ling
2f92346194 add highlighter class 2013-08-17 12:52:25 +00:00
Bailey Ling
c017c9fbb3 miscellaneous minor changes 2013-08-16 14:57:48 +00:00
Bailey Ling
6e515a4627 remove redundancy from the map 2013-08-16 14:57:48 +00:00
Bailey Ling
30adb973fc move getwinvar over 2013-08-16 14:57:47 +00:00
Bailey Ling
0e936d0b9a introduce util file 2013-08-16 14:57:47 +00:00
Bailey Ling
af7dfc8677 update separator colors when mode changes 2013-08-16 14:57:47 +00:00
Bailey Ling
47c80c31da reload separator colors on demand 2013-08-16 14:57:47 +00:00
Bailey Ling
f477520ba8 move builder to its own file 2013-08-16 14:57:47 +00:00
Bailey Ling
703045a7e6 allow warning section to collapse away 2013-08-16 14:57:47 +00:00
Bailey Ling
8b92cae46c basic working dynamic statusline builder 2013-08-16 14:57:47 +00:00
Bailey Ling
6a0163104a unbreak csv extension. redefine gutter as the middle. 2013-08-14 03:53:29 +00:00
Bailey Ling
9dd682212f make warning a real section. references #136. 2013-08-13 20:43:04 +00:00
Bailey Ling
14dacaab68 improve bufferline integration; revert to default in inactive splits. 2013-08-11 19:48:14 +00:00
Bailey Ling
11e7e67d8d introduce g:airline_inactive_collapse. resolves #129. 2013-08-11 14:30:02 +00:00
Bailey Ling
2a10bfc32f make the mode and branch text window local 2013-08-11 13:42:47 +00:00
Bailey Ling
384150ecd7 extract iminsert out of core into an extension 2013-08-10 17:02:48 -04:00
bling
e1ff1edcf0 Merge branch '127'
Resolves #127.

Conflicts:
	autoload/airline.vim
2013-08-10 12:15:14 -04:00
Bailey Ling
61a39a99ac add ability to override left/right sides independently 2013-08-10 16:05:49 +00:00
Bailey Ling
8539ac46a6 allow extensions to reload when color scheme changes. resolves #128 2013-08-10 15:50:27 +00:00
Bailey Ling
1d46c5874b fix warning separator colors out of sync between modes 2013-08-10 13:17:32 +00:00
Bailey Ling
52b4100a4f reload separator color when colorscheme changes 2013-08-09 20:50:53 -04:00
Bailey Ling
44db0e0c70 fix newb mistake. resolves #125. 2013-08-09 20:52:18 +00:00
Bailey Ling
aabb061470 temp disable 2013-08-09 20:43:12 +00:00
Bailey Ling
2ba7ce02ec add powerline separator for warning section 2013-08-09 20:08:57 +00:00
Bailey Ling
f8b2b7be23 add support for select mode. resolves #123. 2013-08-09 08:05:08 -04:00
Bailey Ling
d2c069b971 make syntastic use the warning section 2013-08-06 21:42:32 -04:00
Bailey Ling
f86eafb674 reorder so that statusline funcrefs get an up to date active flag 2013-08-07 00:47:31 +00:00
Bailey Ling
528f56472c introduce new warning section, and refactor whitespace into an extension which uses it 2013-08-07 00:17:33 +00:00
Bailey Ling
4d67c802b3 Merge pull request #120 from farseer90718/master
add white space detection
2013-08-06 16:35:24 -07:00
Bailey Ling
ae587c3dcb add ctrlp support for most themes 2013-08-06 20:52:52 +00:00
farseer90718
164aa6f73c add white space detection 2013-08-07 00:17:57 +08:00
Bailey Ling
c1e74d72e0 Merge branch 'ext'
Conflicts:
	autoload/airline/extensions.vim
2013-08-06 15:26:32 +00:00
Bailey Ling
835f718cb6 reload colors when tomorrow theme changes 2013-08-06 08:31:45 -04:00
Bailey Ling
e858eaa990 fix branch detection 2013-08-06 00:42:59 -04:00
Bailey Ling
ac211a58eb extract all plugin related functionality out of the core 2013-08-06 03:34:45 +00:00
Bailey Ling
0758e2a88c fix regression, allow statusline funcrefs to execute 2013-08-05 20:31:10 +00:00
Bailey Ling
238ab44489 invoke funcrefs a different way, resolves #115. 2013-08-05 20:16:52 +00:00
Bailey Ling
926be0bd8a collapse section when it is empty text (#70). 2013-08-04 01:37:34 +00:00
Bailey Ling
10fa73996b loop differently so it works in 7.2 2013-08-03 20:56:37 +00:00
Bailey Ling
e446f6a2fb fix placement of readonly, add support for startify 2013-08-03 16:06:29 +00:00
Bailey Ling
41a739d602 move syntastic implementation out of core 2013-08-03 11:23:45 -04:00
Bailey Ling
94895de8e2 rename window_override_funcrefs to statusline_funcrefs 2013-08-03 11:14:02 -04:00
Bailey Ling
257a9f2ed9 move updating external values into extensions 2013-08-03 10:59:34 -04:00
Bailey Ling
c655bdc233 move helper functions into update statusline, they're not used anywhere else 2013-08-03 10:58:25 -04:00
bootleq
410792ed48 Remove space-padding works outside of get_section. 2013-08-03 10:09:55 +08:00
bootleq
5ebb0daf93 Add prefix/suffix options for s:get_section.
For output format other than default 1 space padding.
Need this to keep original section_c style:

    let sl.=l:status_color.' %<'.s:get_section(a:winnr, 'c').' '
2013-08-03 10:09:55 +08:00
bootleq
dcb7196097 Add padding spaces for section in s:get_section.
When section text is non-empty, pad spaces before/after it.
2013-08-03 10:09:49 +08:00
Bailey Ling
5099fbf1b9 move tagbar definition into predefined section 2013-08-03 00:51:24 +00:00
Bailey Ling
9844f14f66 change license to MIT 2013-08-02 19:43:24 +00:00
Bailey Ling
39e0df4b2d fix typo of typo fix 2013-08-02 17:59:52 +00:00
Bailey Ling
d833ae041d fix typos in readme 2013-08-02 08:21:47 -04:00
Bailey Ling
577e50d788 first class integration with tagbar 2013-07-31 20:07:14 +00:00
Bailey Ling
d56b9bbfcd modify active window algorithm, resolves #106. 2013-07-31 14:31:51 +00:00
Bailey Ling
e4558340b0 keep left override styles intact when inactive; use powerline separator for iminsert 2013-07-28 19:25:48 -04:00
Bailey Ling
161daa7942 deprecate fugitive variable names in favour of scm-agnostic variable names 2013-07-27 18:15:00 -04:00
Bailey Ling
d1ee91eadf update the ctrlp theme when the airline theme changes 2013-07-27 14:02:43 +00:00
Bailey Ling
bce1632c42 clearly separate core functionality from implementation 2013-07-25 22:29:18 +00:00
Bailey Ling
ec86f66510 move paste detection into statusline and check enabled 2013-07-25 22:09:17 +00:00
Bailey Ling
407d8728c0 iterate available keys for each mode 2013-07-25 14:23:24 +00:00
Bailey Ling
dcc0c7c84b avoid using funcrefs in the core implementation (#91). 2013-07-25 12:00:17 +00:00
Kirill Klenov
c16cafb2bb Support &iminsert. 2013-07-24 15:35:31 +04:00
Bailey Ling
221864cfdc make modified/paste detection an option 2013-07-22 21:23:41 +00:00
Bailey Ling
8a2890625b prepare for bufferline highlight support 2013-07-20 22:22:16 -04:00
maciej
645c67731c Add lawrencium support 2013-07-18 07:56:29 +02:00
Bailey Ling
6388005c46 allow g: gutter to be specified, integrate with vimshell, use get() for :w variables 2013-07-17 22:28:21 -04:00
Bailey Ling
5fefc84413 toggle inactive mode the same way as the other modes 2013-07-16 02:36:23 +00:00
Bailey Ling
07a8bc6258 fixes intro screen getting clobbered. resolves #68. 2013-07-14 16:45:03 -04:00
Bailey Ling
c45e1bcf10 move paste indicator into the default section_a value. 2013-07-14 16:41:31 -04:00
Bailey Ling
39ae9c61ce add g:airline_exclude_preview option. resolves #72. 2013-07-14 15:44:16 -04:00
Bailey Ling
a8a34b8992 treat inactive as a new mode, allowing it to be themeable (#59). 2013-07-13 02:39:38 +00:00
Bailey Ling
78946af962 upgrade replace to a mode of its own. 2013-07-11 03:03:50 +00:00
Bailey Ling
6b94397105 make theme switching more robust, better autocomplete, and reset inactive highlights 2013-07-10 22:22:13 +00:00
Donald Plummer
1cb7a420c8 Show unsaved changes in unfocused split
This fixes #38, and the 3 extra characters shouldn't be a problem for #35 (I hope).

I don't know much of anything about vim-script, so if you've got a better way of doing this go for it.
2013-07-10 10:33:28 -07:00
Bailey Ling
17b6b27fd9 Merge pull request #57 from seletskiy/bold-fix
Fix bold font in terminal
2013-07-10 09:00:49 -07:00
Stanislav Seletskiy
41a246c223 Fix bold font in terminal 2013-07-10 08:54:05 -07:00
Bailey Ling
5fe642841e fix qf and preview not getting their styles applied. 2013-07-10 15:02:34 +00:00
Bailey Ling
40b99e181d implement funcref list again, this time with a global function as this affects older versions of vim 2013-07-10 11:52:17 +00:00
Bailey Ling
b1b02b29a0 correct the truncation of the statusline such that the sides are always shown. resolves #52. 2013-07-09 22:02:59 +00:00
Bailey Ling
e2d78bdded Revert "use list of funcrecs, allowing window overrides to be dynamically added"
This reverts commit c0427e435d.
2013-07-09 11:48:11 +00:00
Bailey Ling
c0427e435d use list of funcrecs, allowing window overrides to be dynamically added 2013-07-09 03:23:30 +00:00
Bailey Ling
0c394308e4 support undotree, gundo, nerdtree, tagbar 2013-07-09 02:52:07 +00:00
Bailey Ling
e0c74f9a1e add netrw support. resolves #31. 2013-07-09 00:51:33 +00:00
Bailey Ling
43bc51a0d2 shorten inactive windows to only the filename. resolves #35. also, treat inactive as a mode so it can be themed independently. 2013-07-08 22:59:31 +00:00
Tim Brooks
56ad2f8c24 Added replace mode extension 2013-07-08 13:00:48 +01:00
Bailey Ling
0c969e7860 introduce gutter section so the entire statusline can be overwritten 2013-07-07 21:00:14 -04:00
Joshua Borton
67de92b1d4 Adding alternate separator for consistent visuals 2013-07-07 18:37:50 -04:00
Bailey Ling
6268cebcce ensure changing filetypes gets updated statusline if necessary. fix statusline overwrite when using unite with -no-split 2013-07-07 15:32:50 +00:00
Bailey Ling
7ca93833ae theme the preview window 2013-07-07 15:21:39 +00:00
Bailey Ling
bc73094619 remove detection variables, always enable them 2013-07-07 15:05:33 +00:00
Bailey Ling
0f39777e14 support quickfix window theming 2013-07-07 15:01:18 +00:00
Bailey Ling
69b2160f41 update simple theme to take full advantage of powerline symbols 2013-07-07 14:26:28 +00:00
Bailey Ling
3d3e4cefbd move majority of code to autoload, keeping only g: variables in plugin 2013-07-07 12:58:39 +00:00