phi: gpu accelerated code-editor; definitely not to be confused phonetically with vi.
Go to file
2016-12-02 17:03:51 +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 Pretty icons 2016-12-02 17:03:51 +00:00

nate-editor

Nate is a minimal text editor designed to look pretty, run fast, and be easy to configure and use. It's primary function is for editing code. Note that this is a re-write of the initial editor that I wrote last year. It's still a work in progress and is very buggy!

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