From 8a25c7912215bcceed6e1a935bbd698d3b3be509 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 19 May 2024 14:30:27 -0500 Subject: [PATCH] feat(nvim): make telescope oldfiles use `only_cwd` --- .../price/dots/.config/nvim/lua/plugins/configs/telescope.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua b/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua index 57dd154f..fefa3343 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua @@ -26,7 +26,8 @@ return { { "td", ":Telescope find_directories", desc = "Telescope: Find Directories", silent = true }, { "tb", ":Telescope buffers", desc = "Telescope: Buffers", silent = true }, { "th", ":Telescope help_tags", desc = "Telescope: Help Tags", silent = true }, - { "to", ":Telescope oldfiles", desc = "Telescope: Recent Files", silent = true }, + { "to", ":Telescope oldfiles only_cwd=true", desc = "Telescope: Recent Files", silent = true }, + { "tO", ":Telescope oldfiles", desc = "Telescope: Recent Files", silent = true }, { "tF", ":Telescope frecency", desc = "Telescope: Frecency", silent = true }, { "tn", ":Telescope neoclip default", desc = "Telescope: Neoclip Buffer", silent = true }, { "tr", ":Telescope resume", desc = "Telescope: Resume", silent = true },