{"id":21285348,"url":"https://github.com/izenynn/mini-vim","last_synced_at":"2025-07-11T11:32:20.023Z","repository":{"id":134167948,"uuid":"422156827","full_name":"izenynn/mini-vim","owner":"izenynn","description":"A \"mini\" implementation of vim :3","archived":false,"fork":false,"pushed_at":"2022-12-27T15:36:23.000Z","size":105,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T03:11:46.235Z","etag":null,"topics":["c","linux","macos","minimal","syntax-highlighting","text-editor","vim"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izenynn.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":"2021-10-28T10:15:54.000Z","updated_at":"2025-01-06T20:48:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac973db4-deca-4a21-aed6-b93024aaeaf5","html_url":"https://github.com/izenynn/mini-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/izenynn/mini-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fmini-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fmini-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fmini-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fmini-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izenynn","download_url":"https://codeload.github.com/izenynn/mini-vim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fmini-vim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795387,"owners_count":23665227,"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","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":["c","linux","macos","minimal","syntax-highlighting","text-editor","vim"],"created_at":"2024-11-21T11:19:54.172Z","updated_at":"2025-07-11T11:32:20.013Z","avatar_url":"https://github.com/izenynn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minivim\n\n## info\n\nA \"mini\" implementation of vim :3\n\nIt uses `VT100` escape characters (I will implement `ncurses` in the future probably).\n\nP.S. I know they are way too much comments, sorry for that. I do this project for learning purpouses, so I comment everything I do for that reason \":D\n\n## How to use\n\nClone the repo\n\n```sh\ngit clone https://github.com/izenynn/minivim.git\n```\n\nRun make inside the repo\n\n```sh\ncd ./minivim \u0026\u0026 make\n```\n\nOpen a file using minivim (it will create the file if it does not exists)\n\n```sh\n./minivim [FILE]\n```\n\n- or create a file with no name, and name it later with vim command `:saveas`\n\n```sh\n./minivim\n```\n\n*NOTE: if cursor highlighting is not working, that is probably becouse your terminal is reversing the cursor position color too, so it goes back to normal, to fix this, compile again with the variable CURSOR_HL=0 (disabled).*\n\n```sh\nmake re CURSOR_HL=0\n```\n\n## How to install\n\nIf you want to add minivim to your path and be able to use it in any directory like any other command, run `make install`\n\n```sh\nmake install\n```\n\nIn case it gives you permissions error, try running it with `sudo`\n\n```sh\nsudo make install\n```\n\n*NOTE: if you are having the issue I described before with the cursor highlighting, you will need to also install with CURSOR_HL=0.*\n\n```sh\nsudo make install CURSOR_HL=0\n```\n\n*NOTE: to change the directory in which the binary is installed, you can compile with BIN_DIR=\"/usr/local\" (just an example).*\n\n```sh\nsudo make install BIN_DIR=\"/usr/local/bin\"\n```\n\n## Features\n\nEditor features:\n- Open, edit and save any text files.\n- C and C++ syntax highlighting.\n\nVim features:\n- `normal` and `insert` mode.\n- `i`, `a`: change to insert mode.\n- `o`, `O`: insert new line.\n- `h`, `j`, `k`, `l`: move around (also: arrows).\n- `0`: move to first character in the line (also: home key).\n- `^`: move to first non-blank character in the line.\n- `$`: move to last character in the line (also: end key).\n- `gg`: goto first line.\n- `G`: goto last line.\n- `:w`, `:q`, `:q!`, `:wq`, `x`: supported commands.\n- `:saveas [NAME]`: supported command.\n- `/[MATCH]`: supported command (`n` / `N`: move to next / previous occurrence).\n\n##\n[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)](https://forthebadge.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fmini-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizenynn%2Fmini-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fmini-vim/lists"}