mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt vimer.js
This commit is contained in:
parent
5c9b4978e1
commit
adeb461da0
@ -66,7 +66,7 @@ const INNER = "inner"
|
|||||||
func init() {
|
func init() {
|
||||||
Index.Merge(&ice.Context{
|
Index.Merge(&ice.Context{
|
||||||
Commands: map[string]*ice.Command{
|
Commands: map[string]*ice.Command{
|
||||||
INNER: {Name: "inner path=src/ file=main.go line=1 auto project search", Help: "源代码", Meta: kit.Dict(
|
INNER: {Name: "inner path=src/ file=main.go line=1 auto project searchShow", Help: "源代码", Meta: kit.Dict(
|
||||||
"display", "/plugin/local/code/inner.js", "style", "editor",
|
"display", "/plugin/local/code/inner.js", "style", "editor",
|
||||||
"trans", kit.Dict("project", "项目"),
|
"trans", kit.Dict("project", "项目"),
|
||||||
), Action: map[string]*ice.Action{
|
), Action: map[string]*ice.Action{
|
||||||
@ -92,6 +92,8 @@ func init() {
|
|||||||
mdb.INPUTS: {Name: "favor inputs", Help: "补全"},
|
mdb.INPUTS: {Name: "favor inputs", Help: "补全"},
|
||||||
nfs.DIR: {Name: "dir", Help: "目录"},
|
nfs.DIR: {Name: "dir", Help: "目录"},
|
||||||
|
|
||||||
|
"searchShow": {Name: "searchShow", Help: "搜索", Hand: func(m *ice.Message, arg ...string) {
|
||||||
|
}},
|
||||||
"project": {Name: "project", Help: "项目", Hand: func(m *ice.Message, arg ...string) {
|
"project": {Name: "project", Help: "项目", Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Cmdy(nfs.DIR, kit.Select("./", arg, 0))
|
m.Cmdy(nfs.DIR, kit.Select("./", arg, 0))
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user