nvim: Always search all files
This commit is contained in:
parent
11787128cb
commit
0c2a48b0d6
1 changed files with 1 additions and 7 deletions
|
@ -8,13 +8,7 @@ return {
|
||||||
local map = require"util.map"
|
local map = require"util.map"
|
||||||
|
|
||||||
-- Default pickers
|
-- Default pickers
|
||||||
map("n", "<leader>tf", function()
|
map("n", "<leader>tf", tb.find_files,"[T]elescope [f]iles")
|
||||||
if vim.fn.isdirectory(".git") ~= 0 then
|
|
||||||
tb.git_files()
|
|
||||||
else
|
|
||||||
tb.find_files()
|
|
||||||
end
|
|
||||||
end, "[T]elescope [f]iles")
|
|
||||||
map("n", "<leader>tg", tb.live_grep, "[T]elescope [g]rep")
|
map("n", "<leader>tg", tb.live_grep, "[T]elescope [g]rep")
|
||||||
map("n", "<leader>tb", tb.buffers, "[T]elescope [b]uffers")
|
map("n", "<leader>tb", tb.buffers, "[T]elescope [b]uffers")
|
||||||
map("n", "<leader>tm", function()
|
map("n", "<leader>tm", function()
|
||||||
|
|
Loading…
Reference in a new issue