Tuesday, August 17, 2021

Re: VIM session files treated as 'file list database'?

Hi bill.h...,

On Tuesday, 2021-08-17 06:18:15 -0700, bill.h...@gmail.com wrote:

> There's one more tag in the vim session file: after $argadd, after edit,
> after balt, there are 'badd' specifications.

Filename added to buffer list.

> If there are 100 $argadd, then
> I found 99 'badd'. Since I'm looking for those few that I 'selected' by
> leaving a buffer/window open/active, 'badd' didfn't help either.

It would, if instead of "leaving" (however you're doing that) you
deleted the buffer of the currently open file with :bd (:bdelete) or
even :bw (:bwipeout), after which :mks stores only the still active
buffers in the list with badd (plus the Session.vim buffer).

Eike

--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Use LibreOffice! https://www.libreoffice.org/

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YRvxGvWMEXZNsguT%40kulungile.erack.de.

No comments:

Post a Comment