~earboxer/left

personal fork of ~rabbits/left. Many diverging branches. See also https://lists.sr.ht/~rabbits/public-inbox/patches?search=from%3A%7Eearboxer for the many (hopeful) upstreamable patches.
Zach: Remove 'wrap' (a feature I just don't care for)
Zach: ctrl+a move to beginning of line
Zach: ctrl q to quit

refs

zach
browse  log 

clone

read-only
https://git.sr.ht/~earboxer/left
read/write
git@git.sr.ht:~earboxer/left

You can also use your local clone with git send-email.

#Left

A minimal text editor, written in ANSI C.

#Build

To build left, you must have SDL2.

cc left.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o left

#Controls

  • right-click "foo", goto next "foo"
  • right-click, ":123", goto line 123

#TODOs

  • Tab character size, without breaking picking

  • Goto line

  • Find text

  • Replace

  • Mouse chording

  • shift+arrow selection

  • shift+page selection

  • insert mode

  • change cursor depending on mode

  • char mode

    • uc selection
    • lc selection
  • text mode

    • indent selection
    • unindent selection
  • Save/Load

    • Reload file from disk
  • Catch non-ascii characters