Closed delphinus closed 3 months ago
Fix #216 Fix #125 Ref #157
This adds a feature to fetch entries from DB.
local files = require("telescope").extensions.frecency.query { limit = 3 } -- this may includes…… -- [ -- "/path/to/foo.lua", -- "/more/path/to/bar.md", -- "/more/and/more/path/to/foobar.txt", -- ]
For example, you can do live-grep'ping for files that are managed by this plugin.
vim.keymap.set("n", "<Leader>tg", function() local frecency = require("telescope").extensions.frecency require("telescope.builtin").live_grep { -- HACK: `search_dirs` can accept files to grep nevertheless its name search_dirs = frecency.query {}, } end)
Fix #216 Fix #125 Ref #157
This adds a feature to fetch entries from DB.
For example, you can do live-grep'ping for files that are managed by this plugin.