-
-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort buffers by fricensy of use #179
Comments
So highest buffer number in the bottom or actually the last buffer you were in? |
Actually the last buffer I was in. |
I'd wanted this feature too. I'm not sure about how FZF ordered the buffers, because I don't want to be navigating with cursor keys in a fuzzy finder.. what was useful, was the "%" buffer being pinned to the top. Then if I have |
But that's builtin, you can use |
To neovim I mean. |
Sure, I could. But I find that an inconvenient shortcut that seem chosen. For me it's about least resistance and keeping my hands on the homerow. I map It does feel like I'm reasoning on Junegunn' behalf though, as it's nothing more than a request for the same feature as FZF, and that feature was undoubtedly a design choice. |
I would take a closer look at this in the next few days, if it is okay for all involved. |
@Stanislav-Lapata Did you ever get this to work with #208? Also which theme are you using? Looks really decent 👍 |
This section of the README describes how to achieve this: https://github.com/nvim-telescope/telescope.nvim#customize-default-builtin-behavior This is the configuration you would need: local actions = require('telescope.actions')require('telescope').setup{
pickers = {
buffers = {
sort_lastused = true
}
}
} |
This is not shown anymore in the README, it talks about sorters, but no example on how to override the default one.. |
Most of the documentation is moved from the readme to the It makes more sense to have the documentation in vim, rather than in the readme. The readme is meant as a quickstart not on how to configure every single detail |
Hi, thanks for a wonderful project.
Can you add sort for
require'telescope.builtin'.buffers
?When I use buffers. I would like to see the last files used at the bottom of the list.
I open Gemfile and then Procfile, but they find at the top of the list.
The text was updated successfully, but these errors were encountered: