All Projects → linde12 → Kod

linde12 / Kod

Licence: mit
terminal text editor written in Go, using xi-editor as backend

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Kod

Mazu Editor
a minimalist text editor with syntax highlight, copy/paste, and search
Stars: ✭ 88 (-69.86%)
Mutual labels:  terminal-based, text-editor
Void
terminal-based personal organizer
Stars: ✭ 831 (+184.59%)
Mutual labels:  terminal-based, text-editor
Wed
wed is a terminal text editor with key bindings commonly used in Windows based editors
Stars: ✭ 65 (-77.74%)
Mutual labels:  terminal-based, text-editor
Bim
small terminal text editor with syntax highlighting
Stars: ✭ 174 (-40.41%)
Mutual labels:  terminal-based, text-editor
Moe
A command line based editor inspired by vi/vim. Written in Nim.
Stars: ✭ 252 (-13.7%)
Mutual labels:  terminal-based, text-editor
jot
Command-line note-taking for minimalists
Stars: ✭ 24 (-91.78%)
Mutual labels:  text-editor, terminal-based
editor
A text editor written in Nim
Stars: ✭ 24 (-91.78%)
Mutual labels:  text-editor, terminal-based
ash
A modern terminal text editor
Stars: ✭ 37 (-87.33%)
Mutual labels:  text-editor, terminal-based
zk
A note-taking tool based on the famous Zettelkasten method
Stars: ✭ 41 (-85.96%)
Mutual labels:  terminal-based
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+963.36%)
Mutual labels:  text-editor
gomphotherium
Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.
Stars: ✭ 22 (-92.47%)
Mutual labels:  terminal-based
Pi-CLI
Pi-Hole data right from your terminal. Live updating view, query history extraction and more!
Stars: ✭ 40 (-86.3%)
Mutual labels:  terminal-based
Colorpedia
Command-line tool for looking up colors and palettes.
Stars: ✭ 255 (-12.67%)
Mutual labels:  terminal-based
fireplace
A cozy fireplace in your terminal
Stars: ✭ 52 (-82.19%)
Mutual labels:  terminal-based
Pydoro
🍅 pydoro - Terminal Pomodoro Timer
Stars: ✭ 277 (-5.14%)
Mutual labels:  terminal-based
openViVi
open source version of ViVi text editor
Stars: ✭ 48 (-83.56%)
Mutual labels:  text-editor
revi
A modal text editor inspired by Vim, Neovim and others like it.
Stars: ✭ 27 (-90.75%)
Mutual labels:  text-editor
Pyshelf
A simple terminal based ebook server
Stars: ✭ 281 (-3.77%)
Mutual labels:  terminal-based
Emacs Theme Darktooth
Darktooth : From the darkness... it watches.
Stars: ✭ 270 (-7.53%)
Mutual labels:  text-editor
helix
A post-modern modal text editor.
Stars: ✭ 5,425 (+1757.88%)
Mutual labels:  text-editor

kod (WIP)

GoDoc

kod screenshot

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.

Goals:

  • 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

Non-goals:

  • Maintain a huge platform support (like vim), it will be supported by the major platforms and architectures

Installation

kod expects xi-core to be set in your $PATH. For more information how to build xi-core, please have a look at xi-editor's github page.

Once xi-core is available you should be able to install with following

 go get -u -v github.com/linde12/kod

To ensure that kod is available, run which kod. It prints kod path in GO binary. If you see kod not found, you need to add your $GOPATH/bin to PATH

TODO

  • [ ] Unmarshal known JSON requests into structs, partially done
  • [x] Implement update method
  • [x] Read viewHeight lines and fill buffer
  • [x] Refactor away unused code(e.g. lineArray, buffer_reader, cursor)
  • [x] Add (very) basic editing functionality
  • [x] Add vertical scrolling
  • [ ] Add horizontal scrolling
  • [x] 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
  • [x] Make editor runnable outside current CWD
  • [x] Display line numbers/gutter (very basic)
  • [ ] A lot of other things...

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].