{"id":20105436,"url":"https://github.com/vimwei/vim-init","last_synced_at":"2026-05-24T16:32:21.961Z","repository":{"id":227002755,"uuid":"770155388","full_name":"VimWei/vim-init","owner":"VimWei","description":"Personal Vim Profile","archived":false,"fork":false,"pushed_at":"2024-04-12T03:44:13.000Z","size":943,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-12T23:57:37.688Z","etag":null,"topics":["vim","vimrc"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VimWei.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}},"created_at":"2024-03-11T03:04:01.000Z","updated_at":"2024-04-14T17:43:24.819Z","dependencies_parsed_at":"2024-04-14T17:43:23.388Z","dependency_job_id":"1fb522a7-2249-40af-90ca-6d0c9edfc5a5","html_url":"https://github.com/VimWei/vim-init","commit_stats":null,"previous_names":["vimwei/vim-init"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VimWei%2Fvim-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VimWei%2Fvim-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VimWei%2Fvim-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VimWei%2Fvim-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VimWei","download_url":"https://codeload.github.com/VimWei/vim-init/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549087,"owners_count":19980475,"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":["vim","vimrc"],"created_at":"2024-11-13T17:47:02.568Z","updated_at":"2026-05-24T16:32:21.955Z","avatar_url":"https://github.com/VimWei.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim-init\n\nVimel 个性化的跨平台 Vim 配置（Linux 遵循 XDG 规范，Windows 遵循平台惯例）\n\n## 安装与配置\n\n### 1. 克隆仓库到配置目录\n\n打开终端，先回到用户主目录，后续所有操作均基于此使用相对路径：\n\n* **Linux / Debian:**\n\n    ```bash\n    cd ~\n    mkdir -p .config\n    ```\n\n* **Windows (CMD):**\n\n    ```batch\n    cd /d %USERPROFILE%\n    mkdir .config\n    ```\n\n* **统一克隆命令 (跨平台一致):**\n\n    ```bash\n    git clone https://github.com/VimWei/vim-init.git .config/vim\n    ```\n\n* **Windows (CMD) 额外步骤：** 创建符号链接让 Vim 找到配置文件：\n\n    ```batch\n    if not exist vimfiles mkdir vimfiles\n    if exist vimfiles\\vimrc del vimfiles\\vimrc\n    mklink vimfiles\\vimrc .config\\vim\\vimrc\n    ```\n\n### 2. 设置 Python 环境\n\n```bash\n# 安装 uv\n# Linux / macOS:\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n\n# Windows (WinGet，CMD/PowerShell 通用):\nwinget install --id=astral-sh.uv -e\n\n# 安装 python 环境及依赖\nuv pip install --python 3.13 --requirement .config/vim/pyproject.toml --target .local/share/uv/tools/vim-init\n```\n\n### 3. 激活插件安装\n\n打开 Vim，在命令行模式下执行以下命令完成所有插件的组装：\n\n```VimCMD\n:PlugInstall\n```\n\n\u003e 📂 **目录隔离说明：** 配置文件存放于配置目录 `.config/vim/`，而插件源码、undo 历史、swap 临时文件等运行时数据会自动隔离到独立目录，不污染配置仓库：\n\u003e * **Linux:** `~/.vim/`（含 `plugged/`、`undodir/`、`swap/`、`backup/`）\n\u003e * **Windows:** `%USERPROFILE%\\vimfiles\\`（含 `plugged/`、`undodir/`、`swap/`、`backup/`）\n\n## 使用 Tips\n\n1. `\u003cLeader\u003e` 是空格键 `\u003cspace\u003e`\n\n2. 使用命令 `:VI` 打开并配置 VIMRC\n\n3. 使用 `\\` 打开 Navigator 按键导航\n    * 使用 `:VN` 自定义 Navigator 导航\n\n4. 使用 `\u003cLeader\u003e\u003cLeader\u003em` 打开菜单\n    * 使用 `:VM` 自定义 Menu 菜单\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimwei%2Fvim-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvimwei%2Fvim-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimwei%2Fvim-init/lists"}