editor

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeUnknown = Type(iota)
	TypeVim
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

func MakeEditor

func MakeEditor(
	ph interfaces.FuncIter[string],
	options map[Type][]string,
) (editor Editor, err error)

func MakeEditorWithVimOptions

func MakeEditorWithVimOptions(
	ph interfaces.FuncIter[string],
	options []string,
) (Editor, error)

func (Editor) Run

func (c Editor) Run(
	files []string,
) (err error)

type Type

type Type byte

func (Type) String

func (i Type) String() string

Jump to

Keyboard shortcuts

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