mksession saves closed buffers when it should not

20 lượt xem
Chuyển tới thư đầu tiên chưa đọc

Felipe Vieira

chưa đọc,
06:39:08 16 thg 1, 201716/1/17
đến vim_use
Here is my sessionoptions:
sessionoptions=blank,curdir,folds,help,options,tabpages,winsize
(removed the 'buffer' defaults)

I open 3 tabs with 'vim -p *py'.
I close one of those tabs and save session with 'mksession!'.
When I 'vim -S session.vim' it still open 3 tabs including the closed one.

I have also tried to 'bdelete' this buffer and have read the 'mksession' and 'sessionoptions' help with no success.

Felipe Vieira

chưa đọc,
09:29:37 18 thg 1, 201718/1/17
đến vim_use

Answer on:
https://groups.google.com/d/msg/vim_use/4Nun47Jsjvc/_eHL9sLDAAAJ

The workaround is to add argd after argadd on the 'resistant' buffer.

Trả lời tất cả
Trả lời tác giả
Chuyển tiếp
0 tin nhắn mới