diff --git a/README.md b/README.md index 836c0ba..57e5a5c 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,12 @@ imported. or to map to a key: ```lua +-- Bind command vim.keymap.set("n", "", "Telescope frecency") +-- Bind Lua function directly +vim.keymap.set("n", "", 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", "", "Telescope frecency workspace=CWD") +-- Bind Lua function directly +vim.keymap.set("n", "", function() + require("telescope").extensions.frecency.frecency { + workspace = "CWD", + } +end) ``` Filter tags are applied by typing the `:tag:` name (adding surrounding colons)