Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

lzk0/edo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDO (EDit with OCaml) - Embark on a Text Editing Odysse

🚀 Set sail on a journey through the uncharted realms of text manipulation with Edo - the text editor that's like VIM's quirky, distant cousin who thinks it's got what it takes. Brace yourself for a blend of adventure, confusion, and the occasional feeling of "why am I doing this to myself?"

🕹️ Imagine VIM's intricate dance of key combos and modes. Now, imagine that dance with two left feet, a rhythm disorder, and a love for taking spontaneous detours into the realm of utter befuddlement. That's Edo for you – the text editor that doesn't just break the mold, it kind of smashes it with a rubber chicken.

🧩 Unravel a user experience that's as unpredictable as the weather in a fantasy novel. Will you manage to exit insert mode? Sure, eventually. Will you accidentally summon an ASCII art dragon while trying to copy a line? Absolutely. Will you question your life choices? Well, let's just say Edo is excellent at fostering existential introspection.

🎉 But wait, there's more! Edo comes fully equipped with a built-in random feature generator. One moment you're editing text, and the next, you're curating a playlist of obscure sea shanties from the 1800s. Who said text editing should be straightforward when it can be a rollicking carnival of unpredictability?

🤯 Embrace the challenge of navigating a landscape where copy-pasting might lead to uncovering a secret recipe for banana bread, and saving your work might just trigger a dramatic reading of Shakespearean sonnets. Edo leaves no stone unturned, especially when those stones are mysteriously levitating and reciting haikus.

In summary, Edo is the text editor for the brave, the curious, and the ones who don't mind occasionally losing their way in the labyrinth of absurdity. If you're up for a text editing escapade that's more like a choose-your-own-adventure novel written by a caffeine-addled sloth, then Edo is your ship, your compass, and your befuddlingly entertaining companion.

Embark on your text editing odyssey with Edo today – because who needs a clear path when you can have an exhilarating rollercoaster through the thickets of imagination? 🌌📜

Usage

opam init
opam update
opam install notty
opam install ANSITerminal
eval (opam env)
dune build
dune exec edo <filename>

For now you have to figure out the keybindings for yourself. If you know VIM then it should be easy :)

TODO

  • Add more keybindings
    • Use arrow keys to move in normal and insert mode
    • Add keybindings that work in Command mode
  • Info (shows mode, (x,y) position, filename)
  • show line numbers
  • Add scrolling functionality
  • Add syntax highlighting (maybe only check syntax highlighting when in normal mode)
    • Obvious syntactic errors like unbalanced braces
    • Other occurrences of a name pointed to by the cursor
    • The matching brace when the cursor points to a brace
    • Similar useful things depending on the language

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages