feat: alternate between go and test files
This commit is contained in:
parent
de585144eb
commit
41f619389e
2 changed files with 57 additions and 0 deletions
|
|
@ -85,3 +85,16 @@ end, "*")
|
|||
cmd("GoGenerate", function(opts)
|
||||
require("gopher").generate(opts.fargs or "")
|
||||
end, "?")
|
||||
|
||||
-- :GoAlt
|
||||
cmd("GoAlt", function()
|
||||
require("gopher.alternate").switch(true, "")
|
||||
end)
|
||||
|
||||
cmd("GoAltV", function()
|
||||
require("gopher.alternate").switch(true, "vsplit")
|
||||
end)
|
||||
|
||||
cmd("GoAltS", function()
|
||||
require("gopher.alternate").switch(true, "split")
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue