Initial commit for public dots
This commit is contained in:
76
.config/nvim/lua/plugins/whichkey.lua
Normal file
76
.config/nvim/lua/plugins/whichkey.lua
Normal file
@ -0,0 +1,76 @@
|
||||
local wk = require("which-key")
|
||||
wk.register({
|
||||
a = {
|
||||
name = "Actions",
|
||||
r = "Reload Config"
|
||||
},
|
||||
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"
|
||||
},
|
||||
m = {
|
||||
name = "Keymap",
|
||||
e = "English",
|
||||
e = "Hebrew"
|
||||
},
|
||||
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",
|
||||
m = "Git Status",
|
||||
b = "Git Branches",
|
||||
c = "Git Commits",
|
||||
f = "Git 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{}
|
||||
Reference in New Issue
Block a user