{"id":23280960,"url":"https://github.com/claby2/clavim","last_synced_at":"2025-08-16T18:10:05.473Z","repository":{"id":112526970,"uuid":"274135577","full_name":"claby2/clavim","owner":"claby2","description":"A text editor that I do not intend on using.","archived":false,"fork":false,"pushed_at":"2020-06-25T14:54:10.000Z","size":934,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T22:25:17.364Z","etag":null,"topics":["catch2","cpp","sdl2","sdl2-ttf","text-editor"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claby2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-22T12:50:04.000Z","updated_at":"2024-04-26T16:50:55.000Z","dependencies_parsed_at":"2023-03-14T07:00:53.479Z","dependency_job_id":null,"html_url":"https://github.com/claby2/clavim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/claby2/clavim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fclavim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fclavim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fclavim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fclavim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claby2","download_url":"https://codeload.github.com/claby2/clavim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claby2%2Fclavim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270749514,"owners_count":24638749,"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-08-16T02:00:11.002Z","response_time":91,"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":["catch2","cpp","sdl2","sdl2-ttf","text-editor"],"created_at":"2024-12-19T23:39:44.805Z","updated_at":"2025-08-16T18:10:05.451Z","avatar_url":"https://github.com/claby2.png","language":"C++","readme":"# clavim\nA text editor that I do not intend on using.\n\n## Getting Started\n\n### Prerequisites\n```\nSDL2\nSDL2_ttf\n```\n\n### Installing\n\n* Install [SDL2](http://libsdl.org/download-2.0.php)\n* Install [SDL2_ttf](https://www.libsdl.org/projects/SDL_ttf/)\n\n## Usage\n\n1. Clone and compile:\n```\n$ git clone https://github.com/claby2/clavim.git\n$ cd clavim\n$ cd src\n$ make compile\n```\n2. Run clavim by specifying the path to the file you would like to edit (a file will be created if it does not already exist):\n```\n$ clavim filename.txt\n```\n\n### Preferences\n\nOptionally, you can set your own preferences to alter the way clavim looks and behaves in `src/preferences.ini`.\nSimply change a certain preference in `src/preferences.ini` and save the file.\nAfter this is done, changes should be reflected the next time clavim is run.\nIf an invalid value is detected (based on a custom validity check), a warning should be written to standard output.\nIn this case, any preference with an invalid value would be ignored and the default value would be used instead. \n\nTo change the font clavim uses, add the `.ttf` file to the `src` directory and change the `font` preference in `src/preferences.ini` to the name of the font file.\n\n### Keybinds\n| Key                                               | Action                                                      |\n|---------------------------------------------------|-------------------------------------------------------------|\n| \"Up\" (the Up arrow key (navigation keypad))       | Move up one line                                            |\n| \"Down\" (the Down arrow key (navigation keypad))   | Move down one line                                          |\n| \"Left\" (the Left arrow key (navigation keypad))   | Move left one character                                     |\n| \"Right\" (the Right arrow key (navigation keypad)) | Move right one character                                    |\n| \"Backspace\"                                       | Delete character to the left of cursor or remove empty line |\n| \"Return\" (the Enter key (main keyboard))          | Create a new line after current line                        |\n| \"Tab\" (the Tab key)                               | Create indentation of four spaces                           |\n| \"Ctrl\" + \"S\"                                      | Save changes to file                                        |\n| \"Ctrl\" + \"A\"                                      | Select all text                                             |\n\n## Testing\n\nTesting requires [Catch2](https://github.com/catchorg/Catch2/).\nIn the `tests` directory, compile with:\n```\n$ make compile\n```\nRun the tests with:\n```\n$ make test\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaby2%2Fclavim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaby2%2Fclavim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaby2%2Fclavim/lists"}