Commit Graph

64 Commits

Author SHA1 Message Date
maek
f8645fb654 Improve tabline + buffer_min_count behaviour
Use BufEnter and BufUnload in place of CursorMoved.

Fixes #479
2014-11-10 15:30:44 +01:00
Bailey Ling
be6e4d6dd6 check background of groups to determine transition. resolves #599. 2014-11-09 00:52:42 -05:00
Bailey Ling
256dec6800 detect changes to tabline config variables after init. resolves #636 2014-11-04 14:48:00 -05:00
wenli
7c4bf0aba6 Make tabline's left separators customizable as right separathers. 2014-10-15 22:32:00 +02:00
Bailey Ling
4dab93470f improve buffer index mode and fix usages where there's overflow 2014-09-17 09:52:08 -04:00
Yu Huang
ae472d6716 Add buffer_idx_mode to vim-airline.
Update documentation.
Keep buffer index-id map a script scope variable.
2014-09-14 18:58:20 -07:00
Bailey Ling
3eef719c4d Merge pull request #595 from mseabold/upstream
Tabline: Highlight unselected modified buffer
2014-09-11 22:40:39 -04:00
Matt Seabold
a5e5d8ab4f Tabline protect against missing palletes
If normal_modified or normal_modified.airline_c aren't present, fallback
to the default normal.airline_c.
2014-09-08 09:43:15 -04:00
Matt Seabold
bfd160a08b Tabline: Highlight unselected modified buffer
Use the modified airline_c color on unselected modified buffers in order
to highlight them as modified while unselected.
2014-09-04 15:51:40 -04:00
Igor Petrov
6e5865473c Tabline close button flag added 2014-09-04 02:48:48 +04:00
perkint
0349f85ab0 bugfix for a tabline refresh problem 2014-08-12 17:26:52 -07:00
Emily St
f196ea1f36 Customizes tabline appearance: type, close button
This commit adds a couple of new settings so that it's possible to hide
the tab type (all the way to the right) and the symbol which represents
the close button.

The settings and their defaults:

let g:airline#extensions#tabline#show_tab_type = 1
let g:airline#extensions#tabline#close_symbol = 'X'
2014-03-19 13:46:44 -07:00
Bailey Ling
942c6ae382 reset current buffer when one gets deleted. resolves #399 2014-02-25 20:34:52 -05:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
gstewart
48f762e312 Fixed modified tab/buffer not updating in tabline 2013-12-31 17:38:16 -08:00
zdm
50fd649110 docs updated, formatters moved to separate filenames 2013-12-23 07:41:24 +02:00
zdm
6c79004aaa show tab nr condition moved to right place 2013-12-22 05:32:06 +02:00
zdm
8d7c2ad830 uniq_tail improved formatter added 2013-12-22 02:27:42 +02:00
Bailey Ling
233e3c60ce improve performance when showing tabs in the tabline (#326). 2013-12-16 00:27:18 -05:00
Bailey Ling
ce15809db3 improve tabline performance during scroll (#362). 2013-12-02 03:00:31 +00:00
Mikkel Oscar Lyderik
47acdcb92c adds userdefined space in tabline
workaround for #327
2013-11-02 22:46:36 +01:00
Bailey Ling
592cc412cf fix and improve airline toggling functionality. 2013-10-13 18:01:38 -04:00
Bailey Ling
5976cf3a48 a min tab count of 1 is the same as always showing (#304). 2013-10-08 13:05:43 -04:00
Bailey Ling
00cd0be601 fix detection of tab count. resolves #304. 2013-10-08 10:00:29 -04:00
Bailey Ling
7dd8c4705c replace powerline symbols with escaped syntax. resolves #283. 2013-09-27 02:15:49 +00:00
Bailey Ling
4d706c5f4a use columns instead of winwidth (#222). 2013-09-25 19:26:25 +00:00
Bailey Ling
6cf12f7268 oops. #279. 2013-09-24 19:06:19 -04:00
Bailey Ling
1b0c260980 revert back to cursormove. resolves #279. 2013-09-24 18:50:49 -04:00
Bailey Ling
99329b0c96 default the tabline separators to powerline if defined. 2013-09-23 18:52:37 +00:00
Bailey Ling
ad96110eef Merge branch '256' into dev 2013-09-22 17:29:37 -04:00
Bailey Ling
cf643aa7fa disable arrows by default for tabline. 2013-09-22 17:21:47 -04:00
Bailey Ling
cdc951be36 bufenter is sufficient to detect buffer list changes. 2013-09-22 17:20:38 -04:00
bling
bfe35ed76c replace all instance of space with the no-break space. resolves #256. 2013-09-22 11:29:27 -04:00
Bailey Ling
e01b2a99c0 remove comment about file length, as it is already proper. 2013-09-22 11:01:12 -04:00
Markus Koller
3cc1dcb697 Show current buffers in the middle of the tabline (bling/vim-airline#222) 2013-09-22 08:23:19 +02:00
Bailey Ling
6f3a4daba4 add support for showing/hiding tabline based on tab count (#252). 2013-09-15 08:49:51 -04:00
Bailey Ling
1dcdfc502e set the buffer max a bit more aggressive, add dot prefix/suffix. 2013-09-10 23:50:47 -04:00
Bailey Ling
80afce1eb1 exclude quickfix from tabline. resolves #244. 2013-09-10 19:23:29 +00:00
Bailey Ling
db58294871 Merge branch 'master' into dev 2013-09-07 01:57:39 +00:00
Bailey Ling
f11e133c1a take window size into account before restricting the limit. 2013-09-07 01:33:07 +00:00
Bailey Ling
2e46190034 pass in buffers to the formatter. 2013-09-07 00:51:58 +00: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
7a2f6525c3 implement customizable file name formatting (#230). 2013-09-06 21:50:06 +00:00
Bailey Ling
2391ed0579 show hidden buffers with a different color. resolves #229. 2013-09-06 20:32:10 +00:00
Bailey Ling
e16d728e36 show hidden buffers with a different color. resolves #229. 2013-09-05 22:34:15 +00:00
Bailey Ling
e1be8ff22f just in case...defense coding. 2013-09-05 17:17:04 +00:00
Bailey Ling
fc6cf26ac6 limit the number of buffers displayed. fixes #221. 2013-09-05 17:07:31 +00:00
Stanislav Seletskiy
8c32da38c7 add tab modification detection 2013-09-05 12:52:29 +07:00
Bailey Ling
a9b2fd2c41 allow configuration for showing only tabs. resolves #220. 2013-09-04 20:17:02 +00:00
Bailey Ling
56eaf3733f add support to show tabline based on minimum buffer count (#220). 2013-09-04 19:53:04 +00:00