1
0
Fork 0
mirror of synced 2024-11-22 00:35:35 -05:00

Fix <leader>tl (#698)

This commit is contained in:
John Wyatt 2022-10-15 15:12:20 -04:00 committed by GitHub
parent 3669ae25e0
commit 929bbc1e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ map <leader>t<leader> :tabnext<cr>
" Let 'tl' toggle between this and the last accessed tab " Let 'tl' toggle between this and the last accessed tab
let g:lasttab = 1 let g:lasttab = 1
nmap <Leader>tl :exe "tabn ".g:lasttab<CR> nmap <leader>tl :exe "tabn ".g:lasttab<CR>
au TabLeave * let g:lasttab = tabpagenr() au TabLeave * let g:lasttab = tabpagenr()