mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
## Description Currently hitting `<leader>fb` triggers the telescope buffers command but because we're passing the `sort_lastused=true` flag the index starts at the second item. This happens because of this line of code in telescope.nvim: https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/__internal.lua#L941-L943 This makes it annoying to actually use the tool to find buffers because you have to first type your query then exit insert mode, then scroll one item down, and then hitting enter: https://github.com/user-attachments/assets/4126d017-df4b-48dc-b6d4-f7d9b8f491ff When removing that flag it makes the function much more usable in terms of UX since now you can just write your query and hit enter to go straight to it. ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots <!-- Add screenshots of the changes if applicable. --> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. |
||
---|---|---|
.. | ||
compat | ||
extras | ||
lsp | ||
coding.lua | ||
colorscheme.lua | ||
editor.lua | ||
formatting.lua | ||
init.lua | ||
linting.lua | ||
treesitter.lua | ||
ui.lua | ||
util.lua | ||
xtras.lua |