mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Fix <leader>tl
This commit is contained in:
parent
5108ca4ec0
commit
53051c0157
@ -235,7 +235,7 @@ map <leader>t<leader> :tabnext
|
|||||||
|
|
||||||
" 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()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user