Commit Graph

79 Commits

Author SHA1 Message Date
Christian Brabandt
8ae46e989d update tabline on bufadd events 2016-01-21 21:10:25 +01:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Bailey Ling
8aad42644c integration with taboo.vim; resolves #476 and #575. 2015-02-27 21:12:45 -05:00
Bailey Ling
7394642293 extract buffers view mode into its own file 2015-02-18 21:56:16 -05:00
Bailey Ling
987306dcaf extract tabs view mode to its own file 2015-02-18 21:56:15 -05:00
Bailey Ling
6f9d92df7c extract autoshow logic to its own file 2015-02-18 21:56:15 -05:00
Bailey Ling
8693a525b9 extract buffer listing to its own file 2015-02-18 21:56:15 -05:00
Bailey Ling
ca925efdbf move formatters into their own namespace 2015-02-13 21:50:18 -05:00
Bailey Ling
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Daniel Hahler
98c2dbd04e tabline: fix cache invalidation for show_buffers=1 with :bd
Ref: https://github.com/bling/vim-airline/pull/700#issuecomment-73798679
2015-02-11 02:48:25 +01:00
Daniel Hahler
3c1295bb71 tabline: fix s:current_buffer_list invalidation
Use `s:current_buffer_list` always in `s:get_buffer_list()`, and
invalidate it via BufAdd and BufUnload.

Fixes regression from ce58af7191 (commitcomment-9647487).
2015-02-09 17:44:13 +01:00
Daniel Hahler
ce58af7191 Fix get_buffer_list being called always via get()
Vim's `get()` calls the expression for `{default}` always, not only if
the default is going to be used!

This caused `airline#extensions#tabline#get_buffer_name` to not use the
cached value.

Fixes https://github.com/bling/vim-airline/issues/697.
2015-02-07 15:38:02 +01:00
Bailey Ling
13ee9f456a address syntax errors
resolves #683
2015-01-03 19:38:17 -05:00
PsychoMario
527e6661e6 added tabline#show_tabs to disable tab bar 2014-12-26 21:48:06 +00:00
Lingnan Dai
dd587883eb fixed bug with excludes for buffers 2014-12-18 12:46:35 +00:00
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