1
0
forked from x/icebergs

opt onappend

This commit is contained in:
harveyshao 2023-01-18 17:02:05 +08:00
parent 0cd92ae347
commit c07994d42b

View File

@ -50,7 +50,7 @@ const VIMER = "vimer"
func init() { func init() {
Index.MergeCommands(ice.Commands{ Index.MergeCommands(ice.Commands{
VIMER: {Name: "vimer path=src/@key file=main.go line=1 list", Help: "编辑器", Actions: ice.MergeActions(ice.Actions{ VIMER: {Name: "vimer path=src/@key file=main.go line=1 list", Help: "编辑器", Meta: kit.Dict(ctx.STYLE, INNER), Actions: ice.MergeActions(ice.Actions{
mdb.INPUTS: {Hand: func(m *ice.Message, arg ...string) { mdb.INPUTS: {Hand: func(m *ice.Message, arg ...string) {
switch m.Option(ctx.ACTION) { switch m.Option(ctx.ACTION) {
case web.DREAM, AUTOGEN, XTERM: case web.DREAM, AUTOGEN, XTERM: