Fork of https://git.sr.ht/~rabbits/left with some personal tweaks
b482fa08 — Kartik Agaram 14 days ago
larger window
Fixes cursor offset with hor scroll
1dc219c4 — Kartik Agaram 15 days ago
fix clicks on highlight icon


browse  log 



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


A minimal text editor, written in ANSI C.


To build left, you must have SDL2.

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



  • ctrl+n New
  • ctrl+r Reload
  • ctrl+s Save
  • ctrl+a Select all
  • ctrl+h Toggle Guides
  • ctrl+right End of line
  • ctrl+left Beginning of line
  • ctrl+plus Zoom in
  • ctrl+minus Zoom out


  • ctrl+] Indent selection
  • ctrl+[ Unindent selection
  • ctrl+u Uppercase selection
  • ctrl+l Lowercase selection
  • alt+right End of word
  • alt+left Beginning of word


  • shift click select to
  • right-click word jump to word "foo"
  • right-click :123 jump to line 123


  • shift+arrow selection
  • shift+page selection
  • insert mode
    • change cursor depending on mode