doc: mention that the tabline mappings are not automatically created

related: #2290
This commit is contained in:
Christian 2020-11-19 13:52:03 +01:00
parent 536667191d
commit beb20cb49f

View File

@ -1118,7 +1118,9 @@ Note: Not displayed if the number of tabs is less than 1
tabline. When enabled, numbers will be displayed in the tabline and tabline. When enabled, numbers will be displayed in the tabline and
mappings will be exposed to allow you to select a buffer directly. mappings will be exposed to allow you to select a buffer directly.
In default mode, when the variable is 1 Up to 11 mappings will be In default mode, when the variable is 1 Up to 11 mappings will be
exposed: > exposed. Note: Those mappings are not automatically created, vim-airline
just exposes those `<Plug>AirlineSeelctTab` keys for you to map to a
convenient key >
let g:airline#extensions#tabline#buffer_idx_mode = 1 let g:airline#extensions#tabline#buffer_idx_mode = 1
nmap <leader>1 <Plug>AirlineSelectTab1 nmap <leader>1 <Plug>AirlineSelectTab1