Christian Brabandt
3f927b587d
Revert "remove wrong backslash"
...
This reverts commit da3f3bf1d7
.
2016-02-04 19:03:25 +01:00
Christian Brabandt
da3f3bf1d7
remove wrong backslash
2016-02-04 16:25:27 +01:00
Christian Brabandt
5923ced2b0
clarify buffer_idx mode mappings
...
Also add mappings for tabmode as suggested.
2016-01-22 20:20:18 +01:00
Christian Brabandt
6c1fb7e275
use silent flag for AirlineSelectTab mappings
2016-01-20 20:07:45 +01:00
Christian Brabandt
db6bf458fb
Check window size
...
Before setting showtabline option, make sure, there is enough room
fixes #863
2016-01-17 18:35:24 +01:00
Bailey Ling
048b24a916
happy 2016!
2016-01-14 21:38:38 -05:00
poppyschmo
a58b3cba55
Sweep tabline of unlisted buffers on each BufLeave
2015-09-25 14:11:07 -07:00
Bailey Ling
cdc6d98a09
Merge pull request #788 from toupeira/patch-1
...
Remove trailing slashes in unique_tail formatter
2015-07-08 22:28:28 -04:00
Enrico Ghirardi
317e5fa47a
Tabline: add exclude_preview option to hide preview buffer
2015-06-28 22:34:37 +02:00
Markus Koller
312f847e73
Remove trailing slashes when getting path tail
2015-06-04 18:14:06 +03:00
Lawrence M
252978e4ac
tabline: add fnametruncate option to truncate long tab/buffer names
2015-03-20 16:37:36 -07:00
Bailey Ling
96a94d8c3a
add option to display both tab number and splits. resolves #440 .
2015-03-01 09:56:36 -05:00
Lingnan Dai
661c5fb0c5
tabline -- added AirlineSelect{NextTab,PrevTab} commands with countable support
2015-03-01 00:18:02 +00:00
Bailey Ling
c78767a564
fix buffer mismatch in certain cases. resolves #715 .
2015-02-26 23:08:59 -05:00
Bailey Ling
e2a120869b
fix load error for buffer_idx_mode. resolves #711
2015-02-20 19:37:55 -05:00
Bailey Ling
618851188a
hide tab type as per documented variable. resolves #667 .
2015-02-19 21:33:05 -05:00
Bailey Ling
63e309130a
account for possibility of uninitialized variable
2015-02-19 07:09:24 -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
Bailey Ling
13ee9f456a
address syntax errors
...
resolves #683
2015-01-03 19:38:17 -05:00
zdm
45cab177ef
always use absolute file path when comparing buffers names
2014-05-22 12:29:35 +03:00
Sergey Alexandrov
4a76132cbe
Fix "Cannot use empty key for Dictionary" error
...
This commit resolves compatibility issue with fugitive plugin. When
using "Gdiff" command on some file, fugitive attempts to open the
current and the index version of the file. For example, if the file is
/home/taketwo/path/to/the/project/README.md
then fugitive will use the following path to open the index version:
fugitive:///home/taketwo/path/to/the/project/.git//0/README.md
Opening this file leads to a cascade of errors like this:
Error detected while processing function
airline#extensions#tabline#get..<SNR>162_get_buffers..<SNR>162_get_visible_buffers..airline#extensions#tabline#get_buffer_name..airline#extensions#tabline#unique_tail_improved#format:
line 20:
E713: Cannot use empty key for Dictionary
The problem is that when a filename like this is being tokenized, there
appear empty "" tokens, and an error occurs when using them as keys in
`path_tokens[token_index]` dictionary. This fix simply skips empty
tokens.
2014-03-10 12:27:22 +01:00
Bailey Ling
baed8ac063
happy 2014
2014-01-19 23:44:44 -05:00
zdm
50fd649110
docs updated, formatters moved to separate filenames
2013-12-23 07:41:24 +02:00
zdm
0714c35547
add skipped symbol fix
2013-12-22 05:17:01 +02:00
zdm
f6133e4fa1
dos path fixed
2013-12-22 04:03:07 +02:00
zdm
43c1636e36
windows path replaced
2013-12-22 03:49:30 +02:00
zdm
8d7c2ad830
uniq_tail improved formatter added
2013-12-22 02:27:42 +02:00
Bailey Ling
c4c4be836e
implement new unique_tail formatter. resolves #230 .
2013-10-21 14:25:21 -04:00
Bailey Ling
71a4b2f595
shorten path name as much as possible.
2013-09-07 19:06:01 +00:00
Bailey Ling
dbd9121c05
allow collapsing to be configurable. also fix win paths.
2013-09-07 15:09:19 +00:00
Bailey Ling
22f1701a2e
keep fmod as a valid configuration variable.
2013-09-07 01:36:15 +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