{"id":15941461,"url":"https://github.com/replit/codemirror-emacs","last_synced_at":"2025-10-08T16:33:06.863Z","repository":{"id":38472459,"uuid":"438735164","full_name":"replit/codemirror-emacs","owner":"replit","description":"Emacs keybindings for CM6","archived":false,"fork":false,"pushed_at":"2024-07-30T00:00:54.000Z","size":109,"stargazers_count":21,"open_issues_count":2,"forks_count":7,"subscribers_count":38,"default_branch":"master","last_synced_at":"2024-10-29T14:13:05.149Z","etag":null,"topics":["codemirror","codemirror-6","editor","emacs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@replit/codemirror-emacs","language":"TypeScript","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/replit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-12-15T18:36:08.000Z","updated_at":"2024-07-30T00:00:57.000Z","dependencies_parsed_at":"2024-08-26T06:19:36.595Z","dependency_job_id":null,"html_url":"https://github.com/replit/codemirror-emacs","commit_stats":{"total_commits":21,"total_committers":8,"mean_commits":2.625,"dds":0.5238095238095238,"last_synced_commit":"5c6c94f454a116e0846fbe835589363ae6f09252"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fcodemirror-emacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fcodemirror-emacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fcodemirror-emacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fcodemirror-emacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replit","download_url":"https://codeload.github.com/replit/codemirror-emacs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235733791,"owners_count":19036955,"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":["codemirror","codemirror-6","editor","emacs"],"created_at":"2024-10-07T07:04:28.978Z","updated_at":"2025-10-08T16:33:01.487Z","avatar_url":"https://github.com/replit.png","language":"TypeScript","readme":"# Emacs keybindings for CM6\n\n\u003cspan\u003e\u003ca href=\"https://replit.com/@util/codemirror-emacs\" title=\"Run on Replit badge\"\u003e\u003cimg src=\"https://replit.com/badge/github/replit/codemirror-emacs\" alt=\"Run on Replit badge\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\u003cspan\u003e\u003ca href=\"https://www.npmjs.com/package/@replit/codemirror-emacs\" title=\"NPM version badge\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@replit/codemirror-emacs?color=blue\" alt=\"NPM version badge\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\n## Installation\n\n`npm i @replit/codemirror-emacs`\n\n## Usage\n\n```js\nimport { basicSetup, EditorView } from 'codemirror';\nimport { emacs } from \"@replit/codemirror-emacs\"\n\nnew EditorView({\n  doc: \"\",\n  extensions: [\n    // make sure emacs is included before other keymaps\n    emacs(), \n    // include the default keymap and all other keymaps you want to use in insert mode\n    basicSetup, \n  ],\n  parent: document.querySelector('#editor'),\n})\n```\n","funding_links":[],"categories":["Keybindings"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplit%2Fcodemirror-emacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplit%2Fcodemirror-emacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplit%2Fcodemirror-emacs/lists"}