vim

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SID = "sid"
	ARG = "arg"
	SUB = "sub"
	BUF = "buf"
	ROW = "row"
	COL = "col"
)
View Source
const FAVOR = "favor"
View Source
const INPUT = "input"
View Source
const SESS = "sess"
View Source
const SYNC = "sync"
View Source
const TAGS = "tags"
View Source
const VIM = "vim"
View Source
const VIMRC = "vimrc"

Variables

View Source
var Index = &ice.Context{Name: VIM, Help: "编辑器", Configs: map[string]*ice.Config{
	VIM: {Name: VIM, Help: "编辑器", Value: kit.Data(
		nfs.SOURCE, "http://mirrors.tencent.com/macports/distfiles/vim/vim-8.2.2681.tar.gz",
	)},
}, Commands: map[string]*ice.Command{
	VIM: {Name: "vim path auto order build download", Help: "编辑器", Action: ice.MergeAction(map[string]*ice.Action{
		cli.BUILD: {Name: "build", Help: "构建", Hand: func(m *ice.Message, arg ...string) {
			m.Cmdy(code.INSTALL, cli.BUILD, _vim_pkg(m, m.Config(nfs.SOURCE)), "--enable-multibyte=yes",
				"--enable-pythoninterp=yes", "--enable-luainterp=yes", "--enable-cscope=yes")
		}},
		cli.ORDER: {Name: "order", Help: "加载", Hand: func(m *ice.Message, arg ...string) {
			m.Cmdy(code.INSTALL, cli.ORDER, _vim_pkg(m, m.Config(nfs.SOURCE)), "_install/bin")
		}},
	}, code.InstallAction()), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
		m.Cmdy(code.INSTALL, nfs.SOURCE, _vim_pkg(m, m.Config(nfs.SOURCE)), arg)
	}},
}}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL