♻️ refactor(cmd): move cmd options to a single file
Plugins can reference their cmd table from the data.cmd file
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
-- ╭─────────────────────────────────────────────────────────╮
|
||||
-- │ CMD DATA │
|
||||
-- ╰─────────────────────────────────────────────────────────╯
|
||||
|
||||
local M = {}
|
||||
|
||||
M.autosave = {
|
||||
"ASToggle",
|
||||
}
|
||||
|
||||
M.codesnap = {
|
||||
"CodeSnap",
|
||||
"CodeSnapSave",
|
||||
"CodeSnapHighlight",
|
||||
"CodeSnapASCII",
|
||||
}
|
||||
|
||||
M.diffview = {
|
||||
"DiffviewOpen",
|
||||
"DiffviewClose",
|
||||
"DiffviewToggleFiles",
|
||||
"DiffviewFocusFiles",
|
||||
"DiffviewRefresh",
|
||||
"DiffviewFileHistory",
|
||||
"DiffviewLog",
|
||||
}
|
||||
|
||||
M.fugit = {
|
||||
"Fugit2",
|
||||
"Fugit2Diff",
|
||||
"Fugit2Graph",
|
||||
}
|
||||
|
||||
M.gist = {
|
||||
"GistCreate",
|
||||
"GistCreateFromFile",
|
||||
"GistsList",
|
||||
}
|
||||
|
||||
M.gx = {
|
||||
"Browse",
|
||||
}
|
||||
|
||||
M.kitty_scrollback = {
|
||||
"KittyScrollbackGenerateKittens",
|
||||
"KittyScrollbackCheckHealth",
|
||||
}
|
||||
|
||||
M.lazygit = {
|
||||
"LazyGit",
|
||||
"LazyGitConfig",
|
||||
"LazyGitCurrentFile",
|
||||
"LazyGitFilter",
|
||||
"LazyGitFilterCurrentFile",
|
||||
}
|
||||
|
||||
M.nekifoch = "Nekifoch"
|
||||
|
||||
M.thanks = {
|
||||
"ThanksAll",
|
||||
"ThanksGithubAuth",
|
||||
"ThanksGithubLogout",
|
||||
"ThanksClearCache",
|
||||
}
|
||||
|
||||
M.gitlinker = {
|
||||
"GitLink",
|
||||
}
|
||||
|
||||
M.qalc = {
|
||||
"Qalc",
|
||||
"QalcAttach",
|
||||
"QalcYank",
|
||||
}
|
||||
|
||||
M.ripsub = {
|
||||
"RipSubstitute",
|
||||
}
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user