feat(p4): perforce commands
This commit is contained in:
@@ -4,12 +4,25 @@ return {
|
|||||||
---@type AstroCoreOpts
|
---@type AstroCoreOpts
|
||||||
opts = {
|
opts = {
|
||||||
commands = {
|
commands = {
|
||||||
TermOpen = {
|
CopyFilename = {
|
||||||
function()
|
'let @+=expand("%:p")',
|
||||||
vim.bo.number = false
|
desc = "Copy filename to clipboard",
|
||||||
vim.bo.spell = false
|
},
|
||||||
end,
|
P4Edit = {
|
||||||
desc = "Remove linenumber in term buffers",
|
"!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