Add middle click to close buffer functionality

Extended the left click to switch buffer functionality to also
support middle click to delete buffer

documentation of clickable buffers
This commit is contained in:
Duncan Williams
2016-04-07 11:46:46 +01:00
committed by Duncan
parent 377010ea6e
commit 0c251e20a7
2 changed files with 18 additions and 5 deletions

View File

@@ -508,6 +508,11 @@ are supported!
* enable/disable displaying buffers with a single tab. (c)
let g:airline#extensions#tabline#show_buffers = 1
<
Note: If you are using neovim (has('tablineat') = 1), then you can click
on the tabline with the left mouse button to switch to that buffer, and
with the middle mouse button to delete that buffer.
* enable/disable displaying tabs, regardless of number. (c)
let g:airline#extensions#tabline#show_tabs = 1
<