diff --git a/users/hu/packages/nvim/config/lua/plugins/telescope.lua b/users/hu/packages/nvim/config/lua/plugins/telescope.lua index ff4c681..e93dbb0 100644 --- a/users/hu/packages/nvim/config/lua/plugins/telescope.lua +++ b/users/hu/packages/nvim/config/lua/plugins/telescope.lua @@ -8,13 +8,7 @@ return { local map = require"util.map" -- Default pickers - map("n", "tf", function() - if vim.fn.isdirectory(".git") ~= 0 then - tb.git_files() - else - tb.find_files() - end - end, "[T]elescope [f]iles") + map("n", "tf", tb.find_files,"[T]elescope [f]iles") map("n", "tg", tb.live_grep, "[T]elescope [g]rep") map("n", "tb", tb.buffers, "[T]elescope [b]uffers") map("n", "tm", function()