{"id":21195640,"url":"https://github.com/qiqiboy/q-vim","last_synced_at":"2025-07-10T04:30:31.195Z","repository":{"id":36234914,"uuid":"40539241","full_name":"qiqiboy/q-vim","owner":"qiqiboy","description":"my vim config. 来自一个前端开发码农的vim配置方案","archived":false,"fork":false,"pushed_at":"2023-08-02T13:27:02.000Z","size":356,"stargazers_count":32,"open_issues_count":0,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-02T14:43:51.924Z","etag":null,"topics":["dotfiles","vim","vim-configuration","vimrc","vimrc-settings"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","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/qiqiboy.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":"2015-08-11T12:00:21.000Z","updated_at":"2023-08-02T14:43:51.924Z","dependencies_parsed_at":"2023-01-17T00:00:57.669Z","dependency_job_id":null,"html_url":"https://github.com/qiqiboy/q-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiqiboy%2Fq-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiqiboy%2Fq-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiqiboy%2Fq-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiqiboy%2Fq-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiqiboy","download_url":"https://codeload.github.com/qiqiboy/q-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225618299,"owners_count":17497496,"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":["dotfiles","vim","vim-configuration","vimrc","vimrc-settings"],"created_at":"2024-11-20T19:29:25.609Z","updated_at":"2024-11-20T19:29:26.107Z","avatar_url":"https://github.com/qiqiboy.png","language":"Vim Script","readme":"# q-vim\n\nmy vim config. 来自一个前端开发码农的 vim 配置方案。\n\n### 功能 \u0026 Features\n\n-   广泛支持前端开发，支持`html`、`javascript`、`typescript`、`react(jsx)`, `scss`、`css`等高亮、关键词补全、语法补全；\n    也支持其它语言，例如`python`、`php`等\n-   内置了 `gruvbox` `paperColor` 等优秀主题\n-   Completion 代码补全（由`coc.nvim`支持）\n-   Lint 代码检查\n-   Format 代码格式化\n-   NERDTree 支持，目录树\n    -   `F5` 打开 NERDTree 面板，或者刷新基于当前文件刷新目录树\n-   UndoTree 支持，文件变动历史\n    -   `F4` 打开或者关闭 UndoTree 面板\n-   LeaderF 支持，项目全局文件模糊查找\n    -   `\u003cSpace\u003e`空格键 或 `\u003cC-p\u003e` 触发查找面板\n    -   `\u003cleader\u003epm` 触发最近访问文件列表面板\n    -   `\u003cleader\u003epb` 触发当前 buffers 列表查找\n-   Ctrlsf.vim 支持，全局跨文件内容搜索\n    -   `\u003cleader\u003esf` 打开搜索面板\n-   Ultisnips 支持\n    -   支持 react-snippets、vim-snippets 等\n-   对 git 支持更好\n    -   文件变动左侧标记，状态栏提示等\n    -   vim-fugitive 支持，可以不离开 vim 进行 git 操作\n-   markdown 编辑实时预览\n-   快速注释代码\n    -   `\u003cc-c\u003e` 添加注释\n    -   `\u003cc-x\u003e` 取消注释\n-   easymotion 更快速的文件内跳转\n    -   对 `f` `F` `t` `T` 做了新的映射\n    -   对 `/` `?` 搜索做了映射\n    -   `\u003cleader\u003e\u003cleader\u003ej` `\u003cleader\u003e\u003cleader\u003ek` `\u003cleader\u003e\u003cleader\u003eh` `\u003cleader\u003e\u003cleader\u003el` 上下左右移动\n-   更快速的移动、交换代码行\n    -   `\u003cleader\u003ej` 向下，`\u003cleader\u003ek` 向上 （由 vim-move 提供）\n    -   `\u003cleader\u003eh` 向左，`\u003cleader\u003el` 向右（由 vim-sideways 提供）\n    -   `cx` `cxx` 快速交换词组、行、块等（由 vim-exchange 提供）\n\n... 更多其它功能，更详细键位配置请参考 vimrc 文件\n\n### 安装 \u0026 Install\n\n##### 环境\n\n-   `mac osx`（其它平台没测试，部分功能可能会有问题）\n-   `vim8+`\n-   `node12+`\n    ```bash\n    brew install node\n    ```\n-   `ripgrep`\n    ```bash\n    brew install ripgrep\n    ```\n-   [`FantasqueSansMono Nerd Fonts`](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FantasqueSansMono)\n\n##### 安装\n\n1.  安装好 [`vim-plug`](https://github.com/junegunn/vim-plug/)\n\n    ```bash\n    curl -fLo ~/.vim/autoload/plug.vim --create-dirs \\\n        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n    ```\n\n2.  将 vimrc 里内容复制到你的 `~/.vimrc` 或者 `~/.vim/vimrc` 里\n\n    ```bash\n    cp ./q-vim/vimrc ~/.vim/vimrc\n    ```\n\n3.  执行 `:PlugInstall`\n\n\u003e 如果使用 MacVim，可以在终端运行 `defaults write org.vim.MacVim MMUseInlineIm 0` 解决 vim prompt 中输入中文时可能的字符异常\n\n### 截图 \u0026 Screenshots\n\n![startIfy](https://cloud.githubusercontent.com/assets/3774036/25426063/9016bcd4-2aa0-11e7-8f6a-769b655d386f.png)\n\n![coding](https://cloud.githubusercontent.com/assets/3774036/25426093/a21f62dc-2aa0-11e7-9a4c-2077f4480ce0.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiqiboy%2Fq-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiqiboy%2Fq-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiqiboy%2Fq-vim/lists"}