add new commands to f command

This commit is contained in:
Triston Armstrong 2024-06-29 21:17:15 -04:00
parent 2cc5e697a9
commit b4af4cf7b0
No known key found for this signature in database
GPG Key ID: FADE6AC6F956FC52

View File

@ -10,8 +10,13 @@ return {
-- f key register
wk.register({
f = {
name = "Buffers",
f = { "<cmd>Telescope buffers<cr>", "Find Buffer" }
name = "Files",
b = { "<cmd>Telescope buffers<cr>", "Find Buffer" },
f = { "<cmd>Telescope find_files<cr>", "Find File" },
r = { "<cmd>Telescope oldfiles<cr>", "Open Recent File" },
s = { "<cmd>Telescope live_grep<cr>", "Search Word" },
t = { "<cmd>Telescope tags<cr>", "Find Tag" },
w = { "<cmd>Telescope grep_string<cr>", "Find Word" },
}
}, { prefix = "<leader>" })