phi: gpu accelerated code-editor; definitely not to be confused phonetically with vi.
Go to file
2016-12-02 00:22:22 +00:00
cfg Option to toggle hardware/software accelerated in config 2016-12-02 00:22:22 +00:00
gfx Removed TOML aliases -- it's case insensitive. Added simple theme config 2016-11-27 16:58:12 +00:00
gui Option to toggle hardware/software accelerated in config 2016-12-02 00:22:22 +00:00
res editor -> gui, simple text rendering with rope ds 2016-11-13 22:31:21 +00:00
.gitignore fmt codebase 2016-11-14 07:24:19 +00:00
LICENSE license 2016-11-14 00:17:42 +00:00
main.go Option to toggle hardware/software accelerated in config 2016-12-02 00:22:22 +00:00
README.md Readme 2016-11-28 14:28:31 +00:00

nate-editor

Nate is a re-write of an old text-editor I wrote earlier this year. It's very buggy, may or may not work on macOS, and is still a work in progress!

goals

The editor must:

  • run at 60 fps;
  • load and edit large files with ease;
  • look pretty; and finally
  • be easy to use

building

You'll need veandco/sdl2 and veandco/SDL2_ttf, as well as BurntSushi/toml and vinzmay/go-rope.

$ go get github.com/felixangell/nate

configuration

Configuration files are stored in $HOME/.nate-editor/config.toml, here's an example, which just so happens to be the defualt configuration:

[editor]
tab_size = 2
hungry_backspace = true
tabs_are_spaces = true
match_braces = false

[render]
aliased = true

[theme]
background = "0xfdf6e3"
foreground = "0x7a7a7a"
cursor = "0x657B83"
cursor_invert = "0xffffff"

[cursor]
flash_rate = 400
reset_delay = 400
draw = true
flash = true

license

MIT License