Use vim-smartclose instead of vim-tabclose