Files
dots/.config/nvim/lua/plugins/whichkey.lua
2022-05-14 18:47:33 +03:00

81 lines
1.4 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",
c = "Continue",
h = "Telescope",
i = "Step Into",
l = "Run Last",
n = "Step Over",
o = "Step Out",
p = "List Breakpoints",
q = "Stop",
u = "Toggle UI",
v = "Show Variables",
},
g = {
name = "Language",
D = "Go To Declaration",
a = "Code Actions",
d = "Go To Definition",
e = "Show Line Diagnostics",
f = "Format Code",
i = "Show Implementations",
k = "Hover",
n = "Rename",
q = "Show Diagnostics",
r = "Show References",
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",
},
v = {
name = "Git",
s = "Status",
b = "Branches",
f = "Files",
},
C = "Terminal",
F = "Fuzzy Files",
Q = "Quit All",
S = "Save All",
X = "Quit All Without Saving",
c = "Toggle All Terminal",
f = "File Manager",
f = "File Manager",
h = "Left Split",
j = "Down Split",
k = "Up Split",
l = "Right Split",
q = "Quit",
s = "Save",
x = "Quit Without Saving",
}, { prefix = "<leader>" })
wk.setup({})