mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
parent
9126d6bc0c
commit
9f4b0faae4
12
README.md
12
README.md
@ -123,7 +123,12 @@ imported.
|
||||
or to map to a key:
|
||||
|
||||
```lua
|
||||
-- Bind command
|
||||
vim.keymap.set("n", "<leader><leader>", "<Cmd>Telescope frecency<CR>")
|
||||
-- Bind Lua function directly
|
||||
vim.keymap.set("n", "<leader><leader>", function()
|
||||
require("telescope").extensions.frecency.frecency {}
|
||||
end)
|
||||
```
|
||||
|
||||
Use a specific workspace tag:
|
||||
@ -135,7 +140,14 @@ Use a specific workspace tag:
|
||||
or
|
||||
|
||||
```lua
|
||||
-- Bind command
|
||||
vim.keymap.set("n", "<leader><leader>", "<Cmd>Telescope frecency workspace=CWD<CR>")
|
||||
-- Bind Lua function directly
|
||||
vim.keymap.set("n", "<leader><leader>", function()
|
||||
require("telescope").extensions.frecency.frecency {
|
||||
workspace = "CWD",
|
||||
}
|
||||
end)
|
||||
```
|
||||
|
||||
Filter tags are applied by typing the `:tag:` name (adding surrounding colons)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user