bairui

DieTabsDie

Jun 14th, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.15 KB | None | 0 0
  1. function! DieTabsDie()
  2.   let tabbufname=expand('%')
  3.   tabclose
  4.   exe ":b " . expand(tabbufname)
  5. endfunction
  6.  
  7. autocmd TabEnter * call DieTabsDie()
Add Comment
Please, Sign In to add comment