feat: better keybinds for telescope

This commit is contained in:
Muhammad Nauman Raza 2024-02-08 08:35:58 +00:00
parent 120ccab1d0
commit 24662b79e5
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -3,8 +3,9 @@ local wk = require("which-key")
wk.register({
f = {
name = "file",
f = { "<cmd>Telescope find_files<cr>", "Find File" },
a = { "<cmd>Telescope find_files hidden=true<cr>", "Find Hidden" },
f = { "<cmd>Telescope find_files search_dirs=~<cr>", "Find File (~)" },
a = { "<cmd>Telescope find_files hidden=true search_dirs=~<cr>", "Find Hidden (~)" },
p = { "<cmd>Telescope find_files hidden=true<cr>", "Find File" },
g = { "<cmd>Telescope live_grep<cr>", "Find Word" },
s = { "<cmd>:w<cr>", "Write" },
w = { "<cmd>:w!<cr>", "Force Write" },