2023-03-04 13:22:48 +01:00
|
|
|
require("which-key").register({
|
|
|
|
f = {
|
2023-04-09 19:31:14 +02:00
|
|
|
f = { "<cmd>Telescope find_files<cr>", "Find files" },
|
|
|
|
b = { "<cmd>Telescope buffers<cr>", "Find buffers" },
|
|
|
|
r = { "<cmd>Telescope oldfiles<cr>", "Find recent files" },
|
|
|
|
},
|
|
|
|
s = {
|
|
|
|
l = { "<cmd>Telescope current_buffer_fuzzy_find<cr>", "Search lines" },
|
|
|
|
g = { "<cmd>Telescope live_grep<cr>", "Live grep" },
|
|
|
|
c = { "<cmd>Telescope command_history<cr>", "Command history" },
|
|
|
|
C = { "<cmd>Telescope commands<cr>", "Commands" },
|
|
|
|
d = { "<cmd>Telescope diagnostics<cr>", "Diagnostics" },
|
|
|
|
h = { "<cmd>Telescope help_tags<cr>", "Help tags" },
|
|
|
|
k = { "<cmd>Telescope keymaps<cr>", "Keymaps" },
|
|
|
|
s = { "<cmd>Telescope lsp_document_symbols<cr>", "Symbols (Document)" },
|
|
|
|
S = { "<cmd>Telescope lsp_workspace_symbols<cr>", "Symbols (Workspace)" },
|
2023-03-04 13:22:48 +01:00
|
|
|
},
|
2023-04-10 15:14:04 +02:00
|
|
|
g = {
|
|
|
|
c = { "<cmd>Telescope git_commits<cr>", "Commits" },
|
|
|
|
s = { "<cmd>Telescope git_status<cr>", "Status" },
|
|
|
|
},
|
2023-03-04 13:22:48 +01:00
|
|
|
}, { prefix = "<leader>" })
|