lualine.nvim icon indicating copy to clipboard operation
lualine.nvim copied to clipboard

Add option to sort buffers by the time they were last accessed

Open ChHaeni opened this issue 3 years ago • 1 comments
trafficstars

Buffers can be sorted according to the time they were last accessed (as printed by :ls t)

ChHaeni avatar Jul 06 '22 06:07 ChHaeni

Warning: This pull request is touching the following templated files:

  • doc/lualine.txt - lualine.txt is generated from README.md. Make changes there instead.

I'm open to any other option naming other than ls_flags and/or option description.

ChHaeni avatar Oct 21 '22 13:10 ChHaeni

Many thanks to Jan Henning Thorsen for his suggestion to extend the sorting to any :ls flag!

ChHaeni avatar Oct 21 '22 13:10 ChHaeni

Sorry for deleting my message, but I did not like the way the buffers were “jumping” around when the sorting changed.

This is unrelated to this PR, but I would rather prefer if I could manually reorder the buffers like you can with bufferline.nvim, but I haven’t found the time to implement that.

jhthorsen avatar Oct 21 '22 21:10 jhthorsen

@jhthorsen I would love to be able to reorder buffers!

Granddave avatar Dec 13 '22 12:12 Granddave

Closing this PR since #887 addresses buffer sorting in a more generic way.

ChHaeni avatar Jan 08 '23 19:01 ChHaeni