New features (and breaking changes)
What's Changed
- Options can now be passed to the telescope picker!
Example:
vim.keymap.set("n", ",ht", function()
local default_opts = {
show_all_buffers = true,
sort_mru = true,
sort_lastused = true,
ignore_current_buffer = true,
cwd_only = false,
cwd = nil,
}
require("hbac").telescope(default_opts)
end, { desc = "Hbac: pin picker", noremap = true })
- some useful defaults have been added to the picker, so the default behavior of the picker might be slightly different from previous versions; for example, the entries in the picker are now sorted by recency and the cursor is placed at most recent buffer when you open the picker
- BREAKING CHANGE: mappings for telescope picker are now assigned differently in the configuration, please refer to the readme
Contributors
Big thank you to @al-ce for implementing the features in this release. Also thanks to people posting the issues and testing the PRs!
Full Changelog: v1.2.0...v2.0.0