Sunday, February 17, 2019

Re: mksession restore just deleted buffer

Le samedi 16 février 2019 11:56:37 UTC+1, meine a écrit :
> > Nothing complicated,
> >
> > your advise is coded in the function! geometry#MkSession()
> > silent! execute 'mks! '.g:geometry#sessionfile
> >
> > And this function is called just before leaving Vim (au VimLeavePre * call geometry#SaveGeometry())
>
> Merci!
>
> //meine


Yes but this code does not work well...

when I list buffers ":buffers", it shows me old buffer that I delete ":bd! NoBu".

Then Leave Vim (so the autocmd does its job), relaunch Vim, the buffers' list contains again previous deleted buffer and a file is create at the original buffer's folder.

So not working.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: