kod aims to be a fast and modern terminal code-editor. It is inspired by both vim & micro. It's built using xi-editor as backend.
- Performance, it should never freeze or be slow
- Modes for efficient editing, similar to vim
- Plugins (via xi-core, an example is xi-syntect-plugin which is shown in the picture above)
- Modular, uses xi-editor as backend
- Maintain a huge platform support (like vim), it will be supported by the major platforms and architectures
kod expects xi-core
to be set in your $PATH
. Simply go get
the project and build with go build
.
- Unmarshal known JSON requests into structs, partially done
- Implement update method
- Read
viewHeight
lines and fill buffer - Refactor away unused code(e.g. lineArray, buffer_reader, cursor)
- Add (very) basic editing functionality
- Add vertical scrolling
- Add horizontal scrolling
- Indentation (local, xi doesn't fully support yet AFAIK)
- Respect alpha value in ARGB
- Cleanup view and inputhandler
- Find(search) in file
- Support multiple cursors
- Make editor runnable outside current CWD
- Display line numbers/gutter (very basic)
- A lot of other things...
MIT