I Built My Own Text Editor
说明与用途
cdin 是一个轻量、快速、可定制的文本编辑器,基于 lite 的分支,C 负责渲染,Lua 负责行为,适合低配置电脑。
问题
Create a lightweight, keyboard‑centric text editor that performs well on a weak machine and is highly customizable.
结果
cdin is a small, fast, and hackable editor that feels personal and performs well on low‑spec hardware.
工作流
- Forked the lite editor from GitHub
- Renamed the fork to cdin
- Removed unnecessary features
- Replaced SDL2 with SDL3
- Rewired project structure
- Split code into C (window, renderer, SDL bindings) and Lua (behavior, plugins, keybindings, config)
- Built and tested on a weak machine
证据
I’ve wanted to build a text editor for a long time…
cdin is a lightweight, keyboard-centric text editor with Vim-style modal editing.
- 记录日期: 2026-09-05T14:03:06.971Z