Commit Graph

288 Commits

Author SHA1 Message Date
Bailey Ling
59752b2659 clean up initialization code 2015-02-19 21:31:06 -05:00
Bailey Ling
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Bailey Ling
6efde428c6 turn on deprecation check 2015-02-13 21:47:43 -05:00
Bailey Ling
e10ef2fb25 also redraw the statusline for :AirlineRefresh (for #563) 2014-07-30 15:29:43 -04:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
Bailey Ling
592cc412cf fix and improve airline toggling functionality. 2013-10-13 18:01:38 -04:00
Evgeni Kolev
382c000958 AirlineToggle should also toggle the tabline 2013-10-13 16:44:36 +03:00
Bailey Ling
af330f6a47 add AirlineRefresh command. 2013-10-06 09:01:01 -04:00
Bailey Ling
0ac25ecc30 extract buffer name logic into a formatter.
hold off on deprecation warnings for now...
2013-09-07 00:43:51 +00:00
Bailey Ling
65efb89145 turn on deprecation warnings. 2013-09-06 21:50:43 +00:00
Bailey Ling
7171a169f3 fix regression with ctrlp statusline not changing. 2013-09-01 19:19:34 +00:00
Bailey Ling
1b91c71fc9 make it possible to declare sections in the vimrc (#204). 2013-08-31 17:42:09 -04:00
Bailey Ling
2d049949f0 fix indentation. 2013-08-30 21:58:29 +00:00
Bailey Ling
93eb0389b9 move init code into new file, add section. 2013-08-30 21:56:12 +00:00
Bailey Ling
fa517238c7 introduce parts metadata. 2013-08-30 21:51:10 +00:00
Bailey Ling
a927bf9475 automatic separators. 2013-08-29 00:57:58 +00:00
Bailey Ling
e13a4c8b1a convert the rest to use define section. 2013-08-29 00:38:33 +00:00
Bailey Ling
bdd758dd38 convert branch/hunks/bufferline to function names. 2013-08-29 00:15:07 +00:00
Bailey Ling
e10b690cdf convert mode/paste/iminsert parts to function names. 2013-08-29 00:09:22 +00:00
Bailey Ling
eadeee316c fixes a weird error after neobundle installs a new plugin. 2013-08-28 01:34:10 +00:00
Bailey Ling
14656f766b add deprecation warnings. 2013-08-28 01:28:31 +00:00
Bailey Ling
39c3ba360e support configurable layouts. 2013-08-28 00:00:23 +00:00
Bailey Ling
6fc8c00ef1 place syntastic and whitespace into parts. 2013-08-27 23:38:34 +00:00
Bailey Ling
f9718e6b65 place tagbar into parts. 2013-08-27 23:25:55 +00:00
Bailey Ling
24a2035e42 place bufferline into parts. 2013-08-27 23:24:01 +00:00
Bailey Ling
2708951715 place hunks and branch extension into parts. 2013-08-27 23:22:26 +00:00
Bailey Ling
ff975d3d7d move file encoding/type into a part. 2013-08-27 18:39:34 +00:00
Bailey Ling
85c1f5ad03 rename fragments to parts. 2013-08-27 18:08:50 +00:00
Bailey Ling
83a1d7e47c introduce fragments variable to store all possible parts. 2013-08-27 17:47:31 +00:00
Bailey Ling
6dd4cd5423 clean up how symbols are defined. 2013-08-26 23:39:25 -04:00
Bailey Ling
fe24924ad3 convert iminsert into a fragment. 2013-08-26 23:07:14 -04:00
Bailey Ling
e919663781 always enable paste detection. 2013-08-26 22:55:11 -04:00
Bailey Ling
bc03ab5cbf support section truncation based on window width. resolves #190. 2013-08-27 01:16:56 +00:00
Bailey Ling
04e00d6933 \n only works with double quotes. 2013-08-26 15:32:18 +00:00
bling
39c8dcd950 auto-source themes when they are changed. 2013-08-25 21:34:26 -04:00
Bailey Ling
b34aa78c5a deprecate airline_detect_iminsert 2013-08-24 22:24:36 -04:00
Bailey Ling
c517f9c6f9 fix potential performance problems with completeopt+=preview 2013-08-24 21:17:16 -04:00
Bailey Ling
e8d0d24163 prefer function name instead of funcref. 2013-08-24 01:21:09 +00:00
Bailey Ling
261dafca9d fold exclude funcrefs into the default one. 2013-08-22 17:32:44 +00:00
Jacob Walker
3920817442 Better toggling of powerline fonts
+ Check the value of airline_powerline_fonts not just existence
2013-08-22 09:14:17 -05:00
Bailey Ling
e4a0fe1d9c move paste symbol variable into extension, update docs. 2013-08-20 23:16:39 +00:00
Bailey Ling
cbb9bea9db allow warning section to be overwritten (#136). 2013-08-20 15:02:17 +00:00
Bailey Ling
e2a758e309 deprecate airline_readonly_symbol. move into gutter by default, so it does not conflict with bufferline logic. 2013-08-20 08:11:38 -04:00
Bailey Ling
e65aefac00 deprecate airline_detect_whitespace 2013-08-20 03:39:51 +00:00
Bailey Ling
71c8156f00 deprecate all g:airline_enabled_* variables. 2013-08-20 03:38:02 +00:00
Bailey Ling
494d15232c reduce pollution of global scope variables 2013-08-20 03:38:02 +00:00
mattn
715cf33d56 Prior checking user defined theme 2013-08-20 10:46:44 +09:00
Bailey Ling
ec20ea06c3 fix autoselection of theme for certain startup configs. 2013-08-19 18:17:06 +00:00
Bailey Ling
de69bba26e re-enable gitgutter integration with new upstream function. resolves #154 and #153. 2013-08-19 16:03:10 +00:00
Bailey Ling
2a02afb918 default whitespace symbol to non-unicode unless powerline fonts are enabled (#155). 2013-08-19 13:33:13 +00:00
Bailey Ling
16f2d7013d disable hunks by default, a couple bugs remaining. 2013-08-19 13:22:24 +00:00
Bailey Ling
da4d0730d3 improve gitgutter integration and algorithm 2013-08-18 21:39:27 +00:00
Bailey Ling
aa4c9977df temp disable, some errors weird cases 2013-08-18 21:08:00 +00:00
Bailey Ling
dad0d5a8d8 add gitgutter integration. 2013-08-18 21:02:33 +00:00
Bailey Ling
8f0401580b fix airline theme not getting loaded on startup (#151). 2013-08-18 19:02:14 +00:00
Bailey Ling
60dd8ed0a8 fix error on startup in certain configurations (#150). 2013-08-18 18:13:34 +00:00
Bailey Ling
0a88fd81d3 update branch head all the time (#42). 2013-08-18 17:22:35 +00:00
Bailey Ling
e26165caa6 support base16 variant of solarized. resolves #148. 2013-08-18 14:13:47 +00:00
Bailey Ling
03c08e819c autoload themes to match colorscheme. resolves #145. 2013-08-18 04:44:13 +00:00
Bailey Ling
3fbdd28e5d add profiler. optimize separator highlighting. 2013-08-17 17:35:06 +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
12fc908f43 add support for the command-line window 2013-08-15 15:54:14 -04:00
Bailey Ling
91904d942e check initialized so autoloaded plugins happen first 2013-08-15 15:02:54 -04:00
Bailey Ling
f5afe4bcac Merge pull request #141 from chrisbra/master
added airlinetoggle function
2013-08-15 11:58:28 -07:00
Christian Brabandt
8ec527465d added airlinetoggle function 2013-08-15 20:48:59 +02:00
Bailey Ling
6a0163104a unbreak csv extension. redefine gutter as the middle. 2013-08-14 03:53:29 +00:00
Bailey Ling
10e8146d7b improve docs, remove deprecation warnings 2013-08-14 02:32:05 +00:00
Christian Brabandt
c5e21aa170 added csv extension 2013-08-14 00:11:51 +02:00
Bailey Ling
9dd682212f make warning a real section. references #136. 2013-08-13 20:43:04 +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
35539b2667 customizable empty branch message. closes #121. 2013-08-09 20:12:56 +00:00
Bailey Ling
f8b2b7be23 add support for select mode. resolves #123. 2013-08-09 08:05:08 -04:00
Bailey Ling
4485b03e51 add whitespace toggle command 2013-08-08 14:42:27 +00:00
Bailey Ling
0a015e5305 use autocmds to detect whitespace, shouldn't need max anymore 2013-08-06 21:48:00 -04:00
Bailey Ling
7fb9bcf2c9 improve whitespace detection; add support for mixed indents 2013-08-07 00:48:53 +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
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
48f0e3652c extract tagbar 2013-08-06 03:16:49 +00:00
Bailey Ling
9c960875fe extract fugitive/lawrencium 2013-08-06 03:07:01 +00:00
Bailey Ling
11fd24b3ef extract syntastic 2013-08-06 02:57:06 +00:00
Bailey Ling
f15ac2146f make bufferline almost entirely self contained 2013-08-06 02:44:34 +00:00
Bailey Ling
d1d65dd41a add modified colors to jellybeans 2013-08-04 16:18:47 +00:00
Bailey Ling
9f04ef3170 fix ctrlp statusline getting overwritten via cursormove 2013-08-03 23:44:50 +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
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
577e50d788 first class integration with tagbar 2013-07-31 20:07:14 +00:00
Bailey Ling
6df46d8d22 ensure global variables are always there (#108). 2013-07-31 19:37:35 +00:00
Bailey Ling
d107c4fd5d account for plugins which use eventignore. resolves #82. 2013-07-31 17:37:00 +00:00
Bailey Ling
d56b9bbfcd modify active window algorithm, resolves #106. 2013-07-31 14:31:51 +00: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
68ac156256 make ctrlp themeable (#97). 2013-07-26 17:21:43 +00:00
Bailey Ling
b1975b4eb8 Merge pull request #91 from crazymaster/master
fix for out of sync statusline when buffers are unloaded.
2013-07-26 05:13:23 -07:00
crazymaster
90b32f5c26 Remove unnecessary autocmds 2013-07-26 10:47:28 +09: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
34675c5d9b default iminsert to false 2013-07-25 01:48:23 +00:00
crazymaster
fbb7d1512e Fix update's condition 2013-07-25 00:53:35 +09:00
Kirill Klenov
c16cafb2bb Support &iminsert. 2013-07-24 15:35:31 +04:00
Bailey Ling
5fd3105aae update externals after shell commands. resolves #85 and #42. 2013-07-23 14:44:05 +00:00
Bailey Ling
221864cfdc make modified/paste detection an option 2013-07-22 21:23:41 +00: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
78946af962 upgrade replace to a mode of its own. 2013-07-11 03:03:50 +00:00
Bailey Ling
150cd09d38 make :AirlineTheme a getter/setter 2013-07-11 01:40:38 +00:00
Bailey Ling
6b94397105 make theme switching more robust, better autocomplete, and reset inactive highlights 2013-07-10 22:22:13 +00:00
Bailey Ling
16447a6aa9 fix another solarized2 dark gui typo. also, add :AirlineTheme command. 2013-07-10 19:55:55 +00:00
Bailey Ling
8c6efa5698 add info about funcrefs into the documentation. tested on vim 7.2. resolves #45. 2013-07-10 13:48:13 +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
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
05995a20df fix regression with modified state being lost when switching windows. 2013-07-08 22:59:31 +00:00
Bailey Ling
7c7de271b0 ensures highlights are applied on window enter (#10) 2013-07-07 21:06:27 -04: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
5f323a5bb7 use powerline separator for paste symbol if available 2013-07-07 15:48:44 +00: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
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
3d3e4cefbd move majority of code to autoload, keeping only g: variables in plugin 2013-07-07 12:58:39 +00:00
Bailey Ling
25758970fc move ctrlp into new extensions area 2013-07-07 12:42:51 +00:00
Bailey Ling
51c1e25479 add the ability for window local overrides 2013-07-07 12:31:07 +00:00
Bailey Ling
4ebf00c593 Merge pull request #24 from rdallman/master
Added ctrlp support
2013-07-07 05:28:12 -07:00
Reed Allman
8214c77f04 Added Ctrl-P Support 2013-07-07 00:18:20 -05:00
Bailey Ling
988e2b986c fixes #11. comparing of arrays not working as expected. 2013-07-07 04:18:40 +00:00
Bailey Ling
5e1675dc6e minor refactoring, rename method for consistency 2013-07-06 20:53:32 +00:00
Bailey Ling
5f24841533 check detection in statusline, add some more unicode symbols to docs 2013-07-06 18:30:21 +00:00
Bailey Ling
e89e6ad27b implement paste indicator. resolves #18 2013-07-06 18:24:36 +00:00
Bailey Ling
47425f9b4f condense if statement 2013-07-06 18:05:27 +00:00
Bailey Ling
53537c121d remove bufferline echo integration, must be done on startup 2013-07-06 18:01:32 +00:00
Bailey Ling
e0fe9ce7d4 fix automatic bufferline detection due to load order (resolves #21) 2013-07-06 17:50:57 +00:00
Bailey Ling
c18a741f93 refactor colorschemes to overwrite a base instead of replacing 2013-07-06 00:29:41 +00:00
Bailey Ling
0db74ea089 fix inactive color highlight, make the separators visible in the simple theme 2013-07-04 16:30:21 -04:00
Bailey Ling
392e331ab5 fix typo 2013-07-04 15:11:38 -04:00
Bailey Ling
81c2dc1f9d fix the lazyredraw requirement 2013-07-04 14:01:14 -04:00
Bailey Ling
9594e83236 oops, make dark the default 2013-07-04 12:56:03 -04:00
Bailey Ling
72a201e618 implement light colorscheme 2013-07-04 12:55:14 -04:00
Bailey Ling
c2541dd9a9 implement almost full customization support. resolves #3 2013-07-04 11:39:49 -04:00
Bailey Ling
37474ba5ba Merge branch 'palette' 2013-07-04 12:39:05 +00:00
Bailey Ling
5e2e6cc322 why does osx behave differently from linux T_T (#10) 2013-07-04 08:27:07 -04:00