Le samedi 16 février 2019 11:43:46 UTC+1, meine a écrit : > On Fri, Feb 15, 2019 at 08:57:52AM -0800, nivaem...@gmail.com wrote: > > Le vendredi 15 février 2019 11:57:05 UTC+1, meine a écrit : > > > On Thu, Feb 14, 2019 at 01:31:26PM -0800, nivaem...@gmail.com wrote: > > > > I have two buffers in buffers' list and after buffer deleting the > > > > second one, restarting vim, it is always in the buffers's list. > > > > > > > > I don't understand why it appears again. > > > > > > You have to update the vim session you made by using `:mks!` > > > > > > //meine > > > > It's done via these : > > > > > > if has('autocmd') > > <snip> > > I'm not a coder, so I don't see the details of how you do this, > > but isn't it a rather complicated way instead of a built-in vim > function? > > //meine
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()) -- -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.