{"id":13647498,"url":"https://github.com/thoughtbot/vimulator","last_synced_at":"2026-01-10T20:55:28.786Z","repository":{"id":5806581,"uuid":"7021368","full_name":"thoughtbot/vimulator","owner":"thoughtbot","description":"A JavaScript Vim simulator for demonstrations","archived":true,"fork":false,"pushed_at":"2013-11-20T17:01:30.000Z","size":457,"stargazers_count":120,"open_issues_count":5,"forks_count":19,"subscribers_count":51,"default_branch":"master","last_synced_at":"2024-08-03T01:37:13.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/thoughtbot.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}},"created_at":"2012-12-05T17:19:02.000Z","updated_at":"2024-07-27T08:32:39.000Z","dependencies_parsed_at":"2022-07-07T04:32:07.942Z","dependency_job_id":null,"html_url":"https://github.com/thoughtbot/vimulator","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/thoughtbot%2Fvimulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fvimulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fvimulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbot%2Fvimulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoughtbot","download_url":"https://codeload.github.com/thoughtbot/vimulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223887649,"owners_count":17219968,"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":[],"created_at":"2024-08-02T01:03:36.308Z","updated_at":"2026-01-10T20:55:28.729Z","avatar_url":"https://github.com/thoughtbot.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Vimulator\n\nVimulator is a Vim simulator for teaching and demonstrating Vim. It has a\nsubset of normal mode commands, and an insert mode.\n\n[Try it out](http://thoughtbot.github.com/vimulator/) and\n[run the tests](http://thoughtbot.github.com/vimulator/test.html) online.\n\n## Supported commands\n\n### Motions\n\n* \u003ckbd\u003eh\u003c/kbd\u003e: Move left\n* \u003ckbd\u003ej\u003c/kbd\u003e: Move down\n* \u003ckbd\u003ek\u003c/kbd\u003e: Move up\n* \u003ckbd\u003el\u003c/kbd\u003e: Move right\n* \u003ckbd\u003e0\u003c/kbd\u003e: Move to the start of the line (before leading whitespace)\n* \u003ckbd\u003e^\u003c/kbd\u003e: Move to the start of the line (after leading whitespace)\n* \u003ckbd\u003e$\u003c/kbd\u003e: Move to the end of the line\n* \u003ckbd\u003ew\u003c/kbd\u003e: Move to the next word\n* \u003ckbd\u003eW\u003c/kbd\u003e: Move to the next WORD\n* \u003ckbd\u003ee\u003c/kbd\u003e: Move to the next word ending\n* \u003ckbd\u003eE\u003c/kbd\u003e: Move to the next WORD ending\n* \u003ckbd\u003eb\u003c/kbd\u003e: Move back to the previous word\n* \u003ckbd\u003eB\u003c/kbd\u003e: Move back to the previous WORD\n* \u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003eg\u003c/kbd\u003e: Move to the first line of the file (or a specific line, if a count is given)\n* \u003ckbd\u003eG\u003c/kbd\u003e: Move to the last line of the file (or a specific line, if a count is given)\n* \u003ckbd\u003e+\u003c/kbd\u003e or \u003ckbd\u003eReturn\u003c/kbd\u003e: Move to the start of the next line (after leading whitespace)\n* \u003ckbd\u003e-\u003c/kbd\u003e: Move to the start of the previous line (after leading whitespace)\n\n### Document search\n\n* \u003ckbd\u003e/\u003c/kbd\u003e: Search forwards\n* \u003ckbd\u003e?\u003c/kbd\u003e: Search backwards\n* \u003ckbd\u003en\u003c/kbd\u003e: Go to the next match for the latest search\n* \u003ckbd\u003eN\u003c/kbd\u003e: Go to the previous match for the latest search\n\n### Marks\n\n* \u003ckbd\u003em\u003c/kbd\u003e: Create a mark\n* \u003ckbd\u003e\\`\u003c/kbd\u003e: Move to a given mark\n* \u003ckbd\u003e'\u003c/kbd\u003e: Move to the line containing a given mark\n\n### Insertion\n\n* \u003ckbd\u003ea\u003c/kbd\u003e: Append text after the cursor\n* \u003ckbd\u003eA\u003c/kbd\u003e: Append text at the end of the line\n* \u003ckbd\u003ei\u003c/kbd\u003e: Insert text before the cursor\n* \u003ckbd\u003eI\u003c/kbd\u003e: Insert text at the start of the line (after leading whitespace)\n* \u003ckbd\u003eg\u003c/kbd\u003e\u003ckbd\u003eI\u003c/kbd\u003e: Insert text at the start of the line (before leading whitespace)\n* \u003ckbd\u003eo\u003c/kbd\u003e: Open the next line\n* \u003ckbd\u003eO\u003c/kbd\u003e: Open the previous line\n* \u003ckbd\u003es\u003c/kbd\u003e: Substitute characters under the cursor\n* \u003ckbd\u003eS\u003c/kbd\u003e: Substitute to the end of the line\n\n### Operators\n\n* \u003ckbd\u003ec\u003c/kbd\u003e, \u003ckbd\u003ec\u003c/kbd\u003e\u003ckbd\u003ec\u003c/kbd\u003e and \u003ckbd\u003eC\u003c/kbd\u003e: Change text\n* \u003ckbd\u003ed\u003c/kbd\u003e, \u003ckbd\u003ed\u003c/kbd\u003e\u003ckbd\u003ed\u003c/kbd\u003e and \u003ckbd\u003eD\u003c/kbd\u003e: Delete text\n\nOperators work with all of the motions and document search commands listed\nabove, and the following text objects:\n\n* \u003ckbd\u003ei\u003c/kbd\u003e or \u003ckbd\u003ea\u003c/kbd\u003e followed by \u003ckbd\u003eb\u003c/kbd\u003e, \u003ckbd\u003e(\u003c/kbd\u003e or\n  \u003ckbd\u003e)\u003c/kbd\u003e: Inside or around parenthesis\n* \u003ckbd\u003ei\u003c/kbd\u003e or \u003ckbd\u003ea\u003c/kbd\u003e followed by \u003ckbd\u003eB\u003c/kbd\u003e, \u003ckbd\u003e{\u003c/kbd\u003e or\n  \u003ckbd\u003e}\u003c/kbd\u003e: Inside or around braces\n* \u003ckbd\u003ei\u003c/kbd\u003e or \u003ckbd\u003ea\u003c/kbd\u003e followed by \u003ckbd\u003e[\u003c/kbd\u003e or \u003ckbd\u003e]\u003c/kbd\u003e: Inside\n  or around square brackets\n\n### Line search\n\n* \u003ckbd\u003ef\u003c/kbd\u003e: Find the next occurrence of a character\n* \u003ckbd\u003eF\u003c/kbd\u003e: Find the previous occurrence of a character\n* \u003ckbd\u003et\u003c/kbd\u003e: Find the character before the next occurrence of a character\n* \u003ckbd\u003eT\u003c/kbd\u003e: Find the character after the previous ocurrence of a character\n* \u003ckbd\u003e;\u003c/kbd\u003e: Repeat the last line search\n* \u003ckbd\u003e,\u003c/kbd\u003e: Repeat the last line search, reversing the direction\n\n### Edits\n\n* \u003ckbd\u003er\u003c/kbd\u003e: Replace the character under the cursor\n* \u003ckbd\u003ex\u003c/kbd\u003e: Delete the character under the cursor\n* \u003ckbd\u003eX\u003c/kbd\u003e: Delete the character before the cursor\n* \u003ckbd\u003e.\u003c/kbd\u003e: Repeat the last edit or operator\n\n### Yank and put\n\n* \u003ckbd\u003ey\u003c/kbd\u003e\u003ckbd\u003ey\u003c/kbd\u003e or \u003ckbd\u003eY\u003c/kbd\u003e: Yank the current line\n* \u003ckbd\u003ep\u003c/kbd\u003e: Put the most recently yanked line after the current line\n* \u003ckbd\u003eP\u003c/kbd\u003e: Put the most recently yanked line before the current line\n\n## License\n\nVimulator is licensed under the [MIT license][mit].\n\n[mit]: http://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbot%2Fvimulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtbot%2Fvimulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbot%2Fvimulator/lists"}