editor

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

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

Editor represents an external editor able to edit the notes.

func NewEditor

func NewEditor(editor opt.String) (*Editor, error)

NewEditor creates a new Editor from the given editor user setting or the matching environment variables.

func (*Editor) Open

func (e *Editor) Open(paths ...string) error

Open launches the editor with the notes at given paths.

Jump to

Keyboard shortcuts

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