Lorech / dotfiles

My personal configurations for development
0 stars 0 forks source link

Buffer sorting based on recency #2

Closed Lorech closed 1 week ago

Lorech commented 2 weeks ago

Problem

Telescope supports picker for viewing open buffers - builtin.buffers. The existing configuration is set up to use this to make it easier to navigate between recently opened files, but they seem to be sorted randomly.

Solution

They should instead be sorted so that the most recent buffer is at the bottom of the list, so that the buffer finder can be opened, and enter can immediately open the latest file for quick file navigation.

References

Eventually, I may look into other extensions specifically for navigating between specific files, such as Harpoon, but this is the current flow I am used to.