From 929bbc1e9e680e2da193297cb5f58ec1802dc365 Mon Sep 17 00:00:00 2001 From: John Wyatt Date: Sat, 15 Oct 2022 15:12:20 -0400 Subject: [PATCH] Fix tl (#698) --- vimrcs/basic.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index cc90f74d7a..055c6efd19 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -235,7 +235,7 @@ map t :tabnext " Let 'tl' toggle between this and the last accessed tab let g:lasttab = 1 -nmap tl :exe "tabn ".g:lasttab +nmap tl :exe "tabn ".g:lasttab au TabLeave * let g:lasttab = tabpagenr()