{"id":31333355,"url":"https://github.com/ljiaooo/snapvim","last_synced_at":"2026-05-17T15:43:02.620Z","repository":{"id":309825418,"uuid":"1030260768","full_name":"Ljiaooo/SnapVim","owner":"Ljiaooo","description":"Use vim everywhere in a snap on Windows","archived":false,"fork":false,"pushed_at":"2025-08-14T02:26:56.000Z","size":3095,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T02:39:04.684Z","etag":null,"topics":["vim"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Ljiaooo.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,"zenodo":null}},"created_at":"2025-08-01T10:46:04.000Z","updated_at":"2025-08-14T02:31:42.000Z","dependencies_parsed_at":"2025-08-14T02:39:06.419Z","dependency_job_id":"af79a68b-5faa-44fc-855b-32bb0fb5bc08","html_url":"https://github.com/Ljiaooo/SnapVim","commit_stats":null,"previous_names":["ljiaooo/snapvim"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Ljiaooo/SnapVim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ljiaooo%2FSnapVim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ljiaooo%2FSnapVim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ljiaooo%2FSnapVim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ljiaooo%2FSnapVim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ljiaooo","download_url":"https://codeload.github.com/Ljiaooo/SnapVim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ljiaooo%2FSnapVim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277009874,"owners_count":25744543,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["vim"],"created_at":"2025-09-26T01:53:07.884Z","updated_at":"2025-09-26T01:53:09.821Z","avatar_url":"https://github.com/Ljiaooo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- Banner GIF --\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/demo.gif\" alt=\"SnapVim Demo\" width=\"400\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eSnapVim\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A lightweight, Windows-only, Vim-inspired text editor designed for quick, short-term edits.\n\u003c/p\u003e\n\n---\n\n## ✨ Features\n\n- ⚡ **Instant launch with Ctrl+Space** — jump straight into editing from anywhere  \n- 🎯 **Vim-inspired commands** — `:w`, `:wq`, `:write` for quick save and exit  \n- 📋 **Automatic paste** — after saving, SnapVim pastes the edited text into the last active window  \n- 🪶 **Lightweight** — small footprint, minimal dependencies, and low resource usage\n- 🖥 **Windows platform** — currently only supports Windows\n\n---\n   1. We intend for SnapVim to be used only for short-term Vim-style editing. For long-term text or code editing, please use the official Vim or other editors like VS Code.\n   2. SnapVim currently supports most native Vim operations in insert, normal, and command modes. Visual mode is not yet well implemented.\n   3. SnapVim supports the :bp command to view the previous buffer history, but it can only store one record. Since SnapVim manages buffers internally, buffer-related commands in command mode are not supported.\n   4. Runtime configuration is not supported right now, edit **svimconfig.h** and rebuild.\n\n\n## 📖 How It Works\n\n1. **Trigger the editor**  \n   Press \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eSpace\u003c/kbd\u003e anywhere in Windows. SnapVim will launch instantly.\n\n2. **Focus tracking**  \n   SnapVim remembers which window was active before it opened.\n\n3. **Edit quickly**  \n   Make your changes using normal Vim editing modes.\n\n4. **Save and paste**  \n   When you run `:w`, `:wq`, or `:write`, SnapVim automatically:\n   - Saves the content  \n   - Switches back to the previously active window  \n   - Pastes the edited text directly there  \n\n---\n\n## 🛠 Dependencies\n\nSnapVim is built on top of:\n\n- [**libvim**](https://github.com/onivim/libvim) — Core Vim editing engine  \n- [**Dear ImGui**](https://github.com/ocornut/imgui) — Immediate Mode GUI for rendering the editor interface  \n- **Fonts** — **JetBrainsMono-Medium** for English and **NotoSansSC-Medium** for Chinese\n\n---\n\n## 📦 Installation \u0026 Build\n\n### Prerequisites\n- **Clang** ≥ 20.1.8\n- **CMake** ≥ 3.21\n- Windows development environment (tested on Windows 10+)\n\n### Build Steps\n```bash\ngit clone --recursive https://github.com/Ljiaooo/SnapVim.git\ncd snapvim\nmkdir build \u0026\u0026 cd build\n\n# Configure with Clang as C and C++ compiler\ncmake .. -G \"Ninja\" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++\n\n# Build\ncmake --build .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljiaooo%2Fsnapvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fljiaooo%2Fsnapvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljiaooo%2Fsnapvim/lists"}