{"id":19397610,"url":"https://github.com/dmosc/red","last_synced_at":"2026-06-10T01:31:33.308Z","repository":{"id":115812253,"uuid":"293944366","full_name":"dmosc/red","owner":"dmosc","description":"Lightweight UNIX text editor for CLI.","archived":false,"fork":false,"pushed_at":"2020-09-20T22:42:47.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T22:53:13.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmosc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-08T22:48:02.000Z","updated_at":"2020-09-20T22:42:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbd3f873-a215-4643-99b1-225537539be4","html_url":"https://github.com/dmosc/red","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmosc/red","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmosc%2Fred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmosc%2Fred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmosc%2Fred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmosc%2Fred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmosc","download_url":"https://codeload.github.com/dmosc/red/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmosc%2Fred/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284982746,"owners_count":27095048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T10:43:18.788Z","updated_at":"2025-11-18T01:02:18.115Z","avatar_url":"https://github.com/dmosc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# red\nLightweight UNIX text editor for CLI.\n\n## Commands\n\n**Compile editor:**\n```\nmake red\n```\n\n**Open a document:**\n\u003e Omit the `file_name` argument to create a new document.\n```\n./red [file_name]\n```\n\n### Terminal states\n**Read mode:**\nIn this mode you can navigate through the document without having to worry about editing\nthe document by accident.\n\u003e It is the initial state of the editor as well.\n```\nctrl + r\n```\n\n**Edit mode:** This mode allows you to edit the document in any way you want. It is possible\nto insert/remove characters.\n```\nctrl + e\n```\n\n**Command mode:** A prompt at the bottom of the editor will show, allowing you to insert any\nvalid command to perform special actions.\n```\nctrl + c\n```\n\n**Exit editor:** Any unsaved change will not persist.\n```\nctrl + q\n```\n\n### Command mode operations\nThis commands naturally require the terminal to be in `command` mode. Each command can be called\nin a few different ways. They're separated by a `|` character.\n\n**Save a document**\n\u003e A prompt to set a name will show when working with a new document.\n```\n[save | s]\n```\n\n**Jump to line**\n\u003e Move the cursor to a specific line with blazing speed! 🔥\n```\n[line | l | n] [line_number]\n```\n\n**Find search**\n\u003e This will reposition the cursor to the first incidence that matches your search and tell you how\n\u003e many times the search repeats within the document.\n\u003e The search is enhanced with POSIX regular expressions: \n\u003e https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions\n```\n[find | f | regex] [search]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmosc%2Fred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmosc%2Fred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmosc%2Fred/lists"}