{"id":18422287,"url":"https://github.com/lucasjinreal/m","last_synced_at":"2025-04-07T14:32:37.780Z","repository":{"id":87849998,"uuid":"194886470","full_name":"lucasjinreal/m","owner":"lucasjinreal","description":"m editor is a modern, easy to use, fast terminal editor then vim or emacs. written in pure Rust.","archived":false,"fork":false,"pushed_at":"2019-07-03T02:25:03.000Z","size":34,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T19:45:59.395Z","etag":null,"topics":["editor","emacs","terminal","vim"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/lucasjinreal.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":"2019-07-02T15:07:15.000Z","updated_at":"2023-09-27T11:13:05.000Z","dependencies_parsed_at":"2023-04-22T03:39:04.337Z","dependency_job_id":null,"html_url":"https://github.com/lucasjinreal/m","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasjinreal%2Fm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasjinreal%2Fm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasjinreal%2Fm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasjinreal%2Fm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasjinreal","download_url":"https://codeload.github.com/lucasjinreal/m/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247670168,"owners_count":20976521,"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":["editor","emacs","terminal","vim"],"created_at":"2024-11-06T04:28:55.584Z","updated_at":"2025-04-07T14:32:37.770Z","avatar_url":"https://github.com/lucasjinreal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# m editor\n\n![](https://s2.ax1x.com/2019/07/03/ZYcMPx.png)\n\n\n\n**m** editor written in **rust**, it's *modern and fast*. *m* means minimal and modern, vims or emacs are just too old and hard to use. Think about how many time wasted when you try to save a file need permissions of sudo.\nSo here we re-written a text editor in pure *rust* and designed a pretty new and modern editor which can be cross platform. Our dreaming eidtor is a weapon, so it must be simply and straight forward to use.\nBelow is the final design of our brand new *m editor*:\n\n- `ctrl + s` to save;\n- `ctrl + q` to quit (save and quit);\n- `ctrl + o` to force quit without save;\n- `ctrl + b` jump curse to begin (like terminal);\n- `ctrl + e` jump curse to end;\n- `ctrl + d` copy current line to next;\n- `ctrl + k` delete current line;\n- `ctrl + c` copy select content;\n- `ctrl + v` paste copied content;\n- `ctrl + z` undo the last operation;\n\n\n\nAbove shortcuts were already implemented in **m**! Just start and check it out, you can easily do your modification on *m*!\n\n\n**note**:\nThis README is edit with m, and it's very comfortable than vim!! I am really welcome rustians send me PR if you are interested in build a self-defined editor! Do u support our brand new design of *m*? 😆 it should save lots of time in this way!! And very much intuitive.\n\n\n\n\n## Install\n\nYou should install rust and cargo, so that it can be built like this:\n\n```\ncargo build --release\n```\nif you got some error of `#![feature] may not be used on stable channel`, you can simply do this:\n\n```\nrustup override set nightly\n```\n\napt-get and brew install will coming soon...\n\n\n\n## Todo\n\nWe continues make function fully support of *m*, also make it easy to install from `apt-get` or `brew`. We will have those function does not support yet, if you interested, welcome to PR!\n\n- [ ] `ctrl + a` select all;\n- [ ] fix some bug;\n- [ ] using shift and arrow key to select text;\n- [ ] maybe merges more function to m;\n- [ ] new create file when filename does not exist;\n- [ ] Adding hightlights to certain content such as codes and markdowns.\n\nagain, if you want learn rust and like to written a terminal editor with yourself defined shortcuts, you can start **m** and fork it!!\n\n\n## Copyright\n\nthis work is original done by: `gchp`, I just did some modifications and fit to modern editors.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasjinreal%2Fm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasjinreal%2Fm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasjinreal%2Fm/lists"}