-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add terminal filtering and lastused
to :ls
(vim-patch:8.0.1651)
#12155
Conversation
Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers. vim/vim@ab9c89b As this is a viminfo fix, most of this is irrelevant - the patch has just been brought across for the creation and updating of buffer's `b_last_used` properties.
Problem: Cannot filter :ls output for terminal buffers. Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes vim/vim#2751) vim/vim@0751f51
Please prefix the PR with one of WIP/RFC/RDY . Seems like there are a few issues on CI so I guess WIP ? thanks for the PR |
Knew I'd forgot something! Yes, CI/test failures pending |
lastused
to :ls
(vim-patch:8.0.1651)lastused
to :ls
(vim-patch:8.0.1651)
As part of fixing the tests, I either need to have the test wait for more than a second (to give the buffers different timestamps) or add in |
Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes vim/vim#4722) vim/vim@5241057
09f0b8b
to
978a6bc
Compare
lastused
to :ls
(vim-patch:8.0.1651)lastused
to :ls
(vim-patch:8.0.1651)
I believe the failed tests ( |
@bobrippling |
lastused
to :ls
(vim-patch:8.0.1651)lastused
to :ls
(vim-patch:8.0.1651)
This was originally going to just be vim-patch
8.0.1651
(cannot filter :ls output for terminal buffers
), however I spotted the last-used feature and decided to include it (patches7.4.1988
&8.1.2225
).7.4.1988
- this is a viminfo change, most of which is irrelevant. The patch has just been brought across / mentioned in spirit as it's the commit where I feel the creation and updatingb_last_used
still belong.vim-patch:7.4.1988
Problem: When updating viminfo with file marks there is no time order.
Solution: Remember the time when a buffer was last used, store marks for
the most recently used buffers.
vim/vim@ab9c89b
vim-patch:8.0.1651: cannot filter :ls output for terminal buffers
Problem: Cannot filter :ls output for terminal buffers.
Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes vim/vim#2751)
vim/vim@0751f51
vim-patch:8.1.2225: the "last used" info of a buffer is under used
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes vim/vim#4722)
vim/vim@5241057