mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Fix <leader>tl (#698)
This commit is contained in:
parent
3669ae25e0
commit
929bbc1e9e
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user