feat: telescope to projects directory by default

This commit is contained in:
Muhammad Nauman Raza 2024-03-23 14:10:59 +00:00
parent 3d91d3f904
commit cc471fe0ec
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -3,7 +3,7 @@ local wk = require("which-key")
wk.register({ wk.register({
f = { f = {
name = "file", name = "file",
f = { "<cmd>Telescope find_files search_dirs=~<cr>", "Find File (~)" }, f = { "<cmd>Telescope find_files search_dirs=~/Projects/<cr>", "Find File (~)" },
a = { "<cmd>Telescope find_files hidden=true search_dirs=~<cr>", "Find Hidden (~)" }, a = { "<cmd>Telescope find_files hidden=true search_dirs=~<cr>", "Find Hidden (~)" },
p = { "<cmd>Telescope find_files hidden=true<cr>", "Find File" }, p = { "<cmd>Telescope find_files hidden=true<cr>", "Find File" },
g = { "<cmd>Telescope live_grep<cr>", "Find Word" }, g = { "<cmd>Telescope live_grep<cr>", "Find Word" },