b4 major changes

This commit is contained in:
davidon-top 2023-09-19 15:28:44 +02:00
parent 6ee690987a
commit c0ea7b465b
4 changed files with 136 additions and 57 deletions

View file

@ -1,6 +1,7 @@
local wk = require("which-key")
local keys = {
a = {"<cmd>Copilot suggestion accept<cr>", "Accept Copilot"},
e = {
name = "Toggle",
e = {"<cmd>NeoTreeFloatToggle<CR>", "NeoTree"},
@ -31,12 +32,21 @@ local keys = {
i = {function () require("goto-preview").goto_preview_implementation() end, "Implementation"},
c = {function () require("goto-preview").close_all_win() end, "Close"},
},
c = {
l = {
name = "LSP",
k = {"<cmd>LspStop<cr>", "Stop"},
s = {"<cmd>LspStart<cr>", "Start"},
r = {"<cmd>LspRestart<cr>", "Restart"},
},
c = {
name = "Copilot",
a = {"<cmd>Copilot suggestion accept<cr>", "Accept"},
d = {"<cmd>Copilot suggestion dismiss<cr>", "Dismiss"},
l = {"<cmd>Copilot suggestion accept_line<cr>", "Line"},
w = {"<cmd>Copilot suggestion accept_word<cr>", "Word"},
n = {"<cmd>Copilot suggestion next<cr>", "Next"},
p = {"<cmd>Copilot suggestion prev<cr>", "Previous"},
}
},
q = {
name = "Nvim",