gophet

command module
v0.0.0-...-ce7e81e Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

Gophet

Go Report Card GitHub repo size Lines of code GitHub issues GitHub

Text editor made in Go, focused on speed and compatibility

Configuration

You can edit your colour scheme, delays and tab size. By default, everything specified in config.json will override gophet defaults - that way, you can change the tab size while keeping the default colourscheme.

Every Color property is an array - first element stands for background RGB value, second for foreground.

Every Delay property is provided in milliseconds.

Please note! config.json has to be in the same folder as the executable.

Default
{
  "Color": {
    "InfoBar":    [[255, 255, 255], [0  , 0  , 0  ]],
    "TextField":  [[0  , 0  , 0  ], [255, 255, 255]],
    "Cursor":     [[255, 255, 255], [0  , 0  , 0  ]],
    "Ruler":      [[0  , 0  , 0  ], [155, 155, 155]]
  },
  "Delay": {
    "Input": 16,
    "Draw":  16
  },
  "TabSize": 4
}

Build

Run the build script for your platform with OS and ARCH as its arguments.

If you provide none, it will compile for your configuration.

Example:

$ ./script/build.sh windows amd64

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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