70 lines
1.3 KiB
Lua
70 lines
1.3 KiB
Lua
local wk = require("which-key")
|
|
wk.register({
|
|
a = {
|
|
name = "Actions",
|
|
r = "Reload Config",
|
|
c = "Find Config Files",
|
|
},
|
|
d = {
|
|
name = "Debug",
|
|
b = "Toggle Breakpoint",
|
|
f = "Finish / Step Out",
|
|
n = "Next",
|
|
s = "Step Into",
|
|
u = "Until",
|
|
w = "Create Watch",
|
|
},
|
|
g = {
|
|
name = "Language",
|
|
D = "Go To Declaration",
|
|
a = "Code Actions",
|
|
d = "Go To Definition",
|
|
e = "Show Line Diagnostics",
|
|
f = "Format Code",
|
|
F = "Format Code And Write Changes",
|
|
i = "Show Implementations",
|
|
k = "Hover",
|
|
n = "Rename",
|
|
q = "Show Diagnostics",
|
|
r = "Show References",
|
|
s = "Restart LSP Server",
|
|
t = "Show Type Definition",
|
|
},
|
|
o = {
|
|
name = "Org",
|
|
a = "Agenda",
|
|
c = "Capture",
|
|
f = "Find Org Files",
|
|
},
|
|
s = {
|
|
name = "Splits & Buffers",
|
|
v = "Vertical Split",
|
|
z = "Horizontal Split Split",
|
|
t = "New Tab",
|
|
b = "Show Buffers",
|
|
h = "Left Tab",
|
|
l = "Right Tab",
|
|
},
|
|
t = {
|
|
name = "Telescope",
|
|
l = "Lsp Workspace Symbols",
|
|
o = "Old Files",
|
|
g = "Grep",
|
|
s = "Treesitter",
|
|
},
|
|
C = "Terminal",
|
|
F = "Fuzzy Files",
|
|
Q = "Quit All",
|
|
S = "Save All",
|
|
X = "Quit All Without Saving",
|
|
c = "Toggle All Terminal",
|
|
f = "File Manager",
|
|
h = "Left Split",
|
|
j = "Down Split",
|
|
k = "Up Split",
|
|
l = "Right Split",
|
|
q = "Quit",
|
|
x = "Quit Without Saving",
|
|
}, { prefix = "<leader>" })
|
|
wk.setup({})
|