Dotfiles with the latest changes
This commit is contained in:
@@ -12,15 +12,21 @@ return {
|
||||
local wk = require("which-key")
|
||||
|
||||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("find_template")
|
||||
|
||||
wk.register({
|
||||
f = {
|
||||
name = "file",
|
||||
f = { "<cmd>Telescope find_files<CR>", "Find Files in Current Working Directory" },
|
||||
r = { "<cmd>Telescope oldfiles<CR>", "Recent Files" },
|
||||
s = { "<cmd>Telescope grep_string<CR>", "Find String in File" },
|
||||
g = { "<cmd>Telescope git_files<CR>", "Find git files" },
|
||||
wk.add({
|
||||
{ "<leader>f", group = "telescope", icon = "" },
|
||||
{
|
||||
"<leader>ff",
|
||||
"<cmd>Telescope find_files<CR>",
|
||||
desc = "Find Files in Current Working Directory",
|
||||
icon = "",
|
||||
},
|
||||
}, { prefix = "<leader>" })
|
||||
{ "<leader>fr", "<cmd>Telescope oldfiles<CR>", desc = "Recent Files", icon = "" },
|
||||
{ "<leader>fs", "<cmd>Telescope live_grep<CR>", desc = "Find String in CWD", icon = "" },
|
||||
{ "<leader>fc", "<cmd>Telescope grep_string<CR>", desc = "Find String in File", icon = "" },
|
||||
{ "<leader>fg", "<cmd>Telescope git_files<CR>", desc = "Find git files", icon = "" },
|
||||
{ "<leader>ft", "<cmd>TodoTelescope<CR>", desc = "Find todos", icon = "" },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user