Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
local map = vim.keymap.set
local projects_root_path = "~/Workspace"

map("n", "<leader>f", "<cmd>Telescope find_files<CR>")
map("n", "<leader>g", "<cmd>Telescope live_grep<CR>")
map("n", "<leader>b", "<cmd>Telescope buffers<CR>")
map("n", "<leader>F", function()
local path = "~/Workspace"
vim.notify("Searching in " .. path, vim.log.levels.WARN, {
vim.notify("Searching in " .. projects_root_path, vim.log.levels.WARN, {
title = "Multi-project search 🔎",
})
require("telescope.builtin").find_files {
cwd = vim.fn.expand(path),
cwd = vim.fn.expand(projects_root_path),
hidden = true,
find_command = {
"fd",
Expand Down