feat(p4): perforce commands
This commit is contained in:
@@ -4,12 +4,25 @@ return {
|
||||
---@type AstroCoreOpts
|
||||
opts = {
|
||||
commands = {
|
||||
TermOpen = {
|
||||
function()
|
||||
vim.bo.number = false
|
||||
vim.bo.spell = false
|
||||
end,
|
||||
desc = "Remove linenumber in term buffers",
|
||||
CopyFilename = {
|
||||
'let @+=expand("%:p")',
|
||||
desc = "Copy filename to clipboard",
|
||||
},
|
||||
P4Edit = {
|
||||
"!p4 edit %:p",
|
||||
desc = "Edit in perforce",
|
||||
},
|
||||
P4History = {
|
||||
"!p4vc history %:p",
|
||||
desc = "Perforce history",
|
||||
},
|
||||
P4Timelapse = {
|
||||
"!p4vc tlv %:p",
|
||||
desc = "Perfoce timelapse view",
|
||||
},
|
||||
P4RevisionGraph = {
|
||||
"!p4vc revisiongraph %:p",
|
||||
desc = "Perforce revision graph",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user