Files
dots/.config/nvim/lua/plugins/whichkey.lua
2023-07-08 15:20:42 +03:00

72 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 = "Set Breakpoint",
c = "Continue",
d = "Termdebug",
e = "Evaluate",
s = "Step",
o = "Over",
r = "Run",
u = "Clear Breakpoint",
},
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({})