{"id":15486452,"url":"https://github.com/b-fuze/simple-vim","last_synced_at":"2025-03-28T15:42:59.538Z","repository":{"id":128002393,"uuid":"261845557","full_name":"b-fuze/simple-vim","owner":"b-fuze","description":"A simple vim command cheatsheet for inexperienced users","archived":false,"fork":false,"pushed_at":"2020-05-06T23:21:35.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T07:15:08.015Z","etag":null,"topics":["beginner","vim"],"latest_commit_sha":null,"homepage":null,"language":null,"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/b-fuze.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-06T18:27:41.000Z","updated_at":"2020-05-06T23:21:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbef267c-bba0-4da0-865b-81e7d0153741","html_url":"https://github.com/b-fuze/simple-vim","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8af0e48c8fc89b1c7b4fc8c443db36b28519ce1f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-fuze%2Fsimple-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-fuze%2Fsimple-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-fuze%2Fsimple-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-fuze%2Fsimple-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-fuze","download_url":"https://codeload.github.com/b-fuze/simple-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246057022,"owners_count":20716854,"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":["beginner","vim"],"created_at":"2024-10-02T06:08:30.478Z","updated_at":"2025-03-28T15:42:59.504Z","avatar_url":"https://github.com/b-fuze.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Vim Command Cheatsheet\n\nA cheatsheet to enable inexperienced users to navigate Vim with a mouse and without learning too many shortcuts\n\n## Enabling the mouse\n\nWhen you first enter Vim type `:` (colon) and then the following:\n```\nset mouse=a\n```\n\nThen you should be able to select text and scroll with your mouse like in normal text editors. It's also great for resizing windows/splits.\n\n## Modes\n\nVim has three modes: normal mode (to run commands), insert mode (to type text), and visual mode (to select text, etc)\n\nYou can always know what mode you are in by looking at the _bottom-left corner_.\n\n**Pressing `Esc` (multiple times if necessary) will always take you back to _normal mode_**\n\n## Editing text\n\n### Type/insert text\nPress `i` (lowercase i)\n\n### Delete selected text\nPress `x`\n\n### Copy selected text\nPress `y` (short for \"yank\")\n\n### Paste selected text\nPress `P` (uppercase P, in normal mode to paste directly at the cursor, lowercase p to paste after the cursor)\n\n## Terminals\n\nOpen a terminal with `:ter` in normal mode (read below for more details)\n\n### Run Vim commands in a terminal\nPress `Ctrl-W` to run Vim commands when inside a terminal\n\n### Scrolling a terminal with a mouse\nPress `Ctrl-W` then `N` (uppercase N), then you'll be able scroll and select text in your terminal. **Press `i` (lowercase i) to go back to normal terminal mode**.\n\n## View splits/windows\nSplitting new panes into files and terminals are different commands, consult the respective section.\n\n### Splitting file editing windows\n\n#### Side-by-side\nTo split side-by-side press type the following in normal mode\n```\n:vsplit\n```\n(`:vs` is a shorthand)\n\n#### Split into top and bottom\nTo split into a top and bottom type the following in normal mode\n```\n:split\n```\n(`:sp` is a shorthand)\n\n### Splitting into terminal windows\n\n#### Terminal above the current window\nType the following in normal mode\n```\n:terminal\n```\n(`:ter` is a shorthand)\n\n#### Terminal adjacent to the current window\nType the following in normal mode\n```\n:vertical terminal\n```\n(`:vert ter` is a shorthand)\n\n\u003c!-- vim:set textwidth=0 wrap: --\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-fuze%2Fsimple-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb-fuze%2Fsimple-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-fuze%2Fsimple-vim/lists"}