After certain 3-step manipulation with tabs,
can't quit vim with :q!. (vim 7.0.42). Tabline is
not updated properly.

% vim -u NONE -U NONE
ix<esc>                       " make 1st buffer modified
:tabnew<cr>                " create 2nd tab
ix<esc>                       " make 2nd buffer modified
:tabclose! 1                 "delete non-last tab

" ^^^ watch the tabline after tabclose command.
" PROBLEM #1 here: tabline shows 2 tabs but this is
"                               wrong; only 1 tab exist at this point
:tabs                          " confirm that ony 1 tab exists

:q!
E37: No write since last change (add ! to override)
E162: No write since last change for buffer "[No Name]"
"^^^^^ PROBLEM #2: can't quit vim here, must resort to kill

Yakov

Reply via email to