{"id":13896668,"url":"https://github.com/gccpacman/.dotfiles","last_synced_at":"2025-07-17T13:30:44.604Z","repository":{"id":33602068,"uuid":"37254236","full_name":"gccpacman/.dotfiles","owner":"gccpacman","description":"Python开发vim配置(兼容windows)","archived":false,"fork":false,"pushed_at":"2019-04-30T02:29:00.000Z","size":4018,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T02:33:15.400Z","etag":null,"topics":["python","vim","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/gccpacman.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-06-11T10:18:25.000Z","updated_at":"2024-07-30T09:17:28.000Z","dependencies_parsed_at":"2022-07-13T13:20:34.366Z","dependency_job_id":null,"html_url":"https://github.com/gccpacman/.dotfiles","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gccpacman/.dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gccpacman%2F.dotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gccpacman%2F.dotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gccpacman%2F.dotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gccpacman%2F.dotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gccpacman","download_url":"https://codeload.github.com/gccpacman/.dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gccpacman%2F.dotfiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265611074,"owners_count":23797809,"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":["python","vim","vuejs"],"created_at":"2024-08-06T18:03:04.494Z","updated_at":"2025-07-17T13:30:44.099Z","avatar_url":"https://github.com/gccpacman.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"`Vim` 配置兼容 Linux, Mac OS, Windows, `Vim` 主要针对Python/Vuejs开发的便利优化配置。\n\n目录\n---\n1. [特性和快捷键](#特性和快捷键)\n2. [安装](#安装)\n\n## 特性和快捷键\n\n`\u003cleader\u003e` 按键设置 ','\n\n1) [command-t](https://github.com/wincent/command-t): 检索工具（[截图](https://github.com/gccpacman/.dotfiles4pythonide/raw/master/asserts/command-t.png)）\n\n    `\u003cleader\u003e + t` : 搜索当前目录下所有的文件名\n    `\u003cleader\u003e + b` : 搜索已经打开的buffer文件名\n    `\u003cleader\u003e + y` : 搜索最近执行的vim命令\n\n\n\n2) [ack.vim](https://github.com/mileszs/ack.vim): 全局文本搜索（[截图](https://github.com/gccpacman/.dotfiles4pythonide/raw/master/asserts/ack.png)）\n\n[ack](https://github.com/davidgiven/ack)是一个全局搜索文件内容，但是其实这里只是用了ack的vim插件，实际上配置的是ag，搜索代码而言，ag比ack更加友好，\n\n    `\u003cleader\u003e + c` 或者直接 ':Ack + ' : 搜索最近执行的vim命令\n\n\n\n3) [nerdtree](https://github.com/scrooloose/nerdtree): 文件树（[截图](https://github.com/gccpacman/.dotfiles4pythonide/raw/master/asserts/nerdtree.png)）\n\n    `\u003cleader\u003e + q` : 打开文件树\n\n\n\n4）[gitgutter](https://github.com/airblade/vim-gitgutter): git文件差异查看（[截图](https://github.com/gccpacman/.dotfiles4pythonide/raw/master/asserts/git.png)）\n\n    `\u003cleader\u003e + g` : 打开，隐藏git差异\n\n\n\n5）[jedi-vim](https://github.com/davidhalter/jedi-vim): python自动完成工具\n\n    `\u003cleader\u003e + j` : 跳转到变量定义\n    `\u003cleader\u003e + a` : 跳转到变量赋值\n    `\u003cleader\u003e + k` : 跳转到文档\n    `\u003cleader\u003e + u` : 列出全局引用\n    `\u003cleader\u003e + r` : 变量重命名\n\n## 安装\n\n1)备份你的 `.vimrc` 文件:\n\n    $ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle\n    $ mv .vimrc .vimrc.bak\n\n2)用wget获取 `.vimrc` :\n\n    $ cd ~\n    $ wget https://raw.githubusercontent.com/gccpacman/.dotfiles4pythonide/master/vim/.vimrc\n\n3)安装 [vundle](https://github.com/VundleVim/Vundle.vim)类似于vim包管理，可以很轻松的安装所有插件:\n\n    $ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle\n    \n4)安装所有插件 ```vundle```:\n\n    $ vim +BundleInstall +qall\n\n5)如果`command-t`，则需要手动编译ruby，确保你的电脑安装了ruby环境：\n\n    $ cd .vim/bundle/command-t/ruby/command-t/ext/command-t\n    $ ruby extconf.rb\n    $ make\n\nPS： 如果是windows，command-t的安装可以参考[vim插件command-t在windows上编译](http://gccpacman.com/2017/10/24/vim%E6%8F%92%E4%BB%B6command-t%E5%9C%A8windows%E4%B8%8A%E7%BC%96%E8%AF%91)\n\nmaintained by [@Gccpacman](https://github.com/gccpacman)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgccpacman%2F.dotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgccpacman%2F.dotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgccpacman%2F.dotfiles/lists"}