Files
crib/README.md
2025-12-13 01:05:06 +00:00

1.4 KiB

Copyright 2025 Syed Daanish

Crib

A TUI IDE.

TODO

  • Fix problem highlighting selection when line is empty.
  • Add ui api for setting cursor types.
  • Use that api to set cursor for selection/insertion/normal etc properly.
    • Sorta unrelated but check kutuwm + kitty problem not keeping cursor mode properly.
  • Add line numbers.
  • Add bg highlight for current line.
  • Make function to get selected text. (selection itself is done)
  • Add support for copy/cut/paste.
  • Add support for ctrl + arrow key for moving words.
  • Add support for ctrl + backspace / delete for deleting words.
  • Add underline highlight for current word and all occurences.
  • Add mouse support.
  • Add hooks in files that can be set/unset/jumped to.
  • Add folding support at tree-sitter level (basic folding is done).
  • Add feature where doing enter uses tree-sitter to add newline with indentation.
    • it should also put stuff like } on the next line.
  • Add support for brackets/quotes to auto-close.
  • Add support for virtual cursor where edits apply at all the places.
  • Add search / replace along with search / virtual cursors are searched pos.
  • Add support for undo/redo.
  • Add .scm files for all the supported languages. (2/14) Done.
  • Add support for LSP & autocomplete / snippets.
  • Add codeium/copilot support.
  • Add git stuff.