parent
db45cdd994
commit
821372b9cf
@ -101,7 +101,7 @@ function! airline#extensions#tabline#tabs#get()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#tabline#tabs#map_keys()
|
function! airline#extensions#tabline#tabs#map_keys()
|
||||||
if exists("s:airline_tabline_map_key")
|
if maparg('<Plug>AirlineSelectTab1', 'n') is# ':1tabn<CR>'
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
noremap <silent> <Plug>AirlineSelectTab1 :1tabn<CR>
|
noremap <silent> <Plug>AirlineSelectTab1 :1tabn<CR>
|
||||||
@ -116,7 +116,6 @@ function! airline#extensions#tabline#tabs#map_keys()
|
|||||||
noremap <silent> <Plug>AirlineSelectPrevTab gT
|
noremap <silent> <Plug>AirlineSelectPrevTab gT
|
||||||
" tabn {count} goes to count tab does not go {count} tab pages forward!
|
" tabn {count} goes to count tab does not go {count} tab pages forward!
|
||||||
noremap <silent> <Plug>AirlineSelectNextTab :<C-U>exe repeat(':tabn\|', v:count1)<cr>
|
noremap <silent> <Plug>AirlineSelectNextTab :<C-U>exe repeat(':tabn\|', v:count1)<cr>
|
||||||
let s:airline_tabline_map_key = 1
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#tabline#tabs#tabnr_formatter(nr, i)
|
function! airline#extensions#tabline#tabs#tabnr_formatter(nr, i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user