{"id":16890504,"url":"https://github.com/sds/.vim","last_synced_at":"2025-08-21T08:31:40.426Z","repository":{"id":1689856,"uuid":"2417912","full_name":"sds/.vim","owner":"sds","description":"My vim configuration and plugin management system","archived":true,"fork":false,"pushed_at":"2021-11-14T23:43:05.000Z","size":105,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T07:40:23.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":false,"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/sds.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":"2011-09-19T20:02:15.000Z","updated_at":"2024-12-01T05:30:07.000Z","dependencies_parsed_at":"2022-09-03T10:30:40.312Z","dependency_job_id":null,"html_url":"https://github.com/sds/.vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sds/.vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sds%2F.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sds%2F.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sds%2F.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sds%2F.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sds","download_url":"https://codeload.github.com/sds/.vim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sds%2F.vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271449252,"owners_count":24761641,"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-08-21T02:00:08.990Z","response_time":74,"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":[],"created_at":"2024-10-13T17:03:23.818Z","updated_at":"2025-08-21T08:31:40.139Z","avatar_url":"https://github.com/sds.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .vim\n\nThis is my `.vim` directory, containing all my configurations for `vim` and the\nassociated plugins I use.\n\n## Requirements\n\nVim 7.4\n\n## Installation\n\nClone the repository:\n\n    git clone git://github.com/sds/.vim.git ~/.vim\n\nIf you following the [XDG Base Directory Specification][XDG] for organizing\nyour configuration files, you'll need to clone to repo into\n`$XDG_CONFIG_HOME/vim/vimrc`, and specify the `VIMINIT` environment\nvariable so that the correct `vimrc` is loaded (since Vim doesn't have\nbuilt-in support for XDG).\n\n```bash\nexport VIMINIT='let $MYVIMRC=\"$XDG_CONFIG_HOME/vim/vimrc\" | source $MYVIMRC'\n```\n\n[XDG]: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)\n\nFinally, run the `update` script to get all the plugins:\n\n    cd ~/.vim \u0026\u0026 ./update\n\nYou can run the `update` script at any time to fetch the latest changes from\neach of the plugin repositories. If you have a lot of plugins and want to speed\nthis up, you could manually specify a revision of the plugin that you want, so\nthat it only updates when you change the revision.\n\n## Configuration\n\nConfiguration files are broken up into various categories in the `config`\ndirectory, including settings for individual plugins (if you're familiar with\nthe directory layout for `vim`, `config` replaces the `plugin` directory).\n\nThe `after`, `autoload`, `ftdetect`, `ftplugin`, and `indent` directories\nact in the way `vim` normally uses them. To summarize:\n\n* `after`: Initialization to run \"after\" `vim` has finished loading. Useful\n  for defining shortcuts that override default key mappings.\n\n* `autoload`: Contains scripts which are \"lazy-loaded\". For example, when\n  calling `pathogen#infect()`, `vim` looks for the `infect` function in\n  `autoload/pathogen.vim`.\n\n* `ftdetect`: Any scripts that are used to determine the type of a file.\n\n* `ftplugin`: Any plugins that are only run for a specific filetype. For\n  example, if `vim` determines a file is of type `html`, it will run the\n  commands found in `ftplugin/html.vim`.\n\n* `indent`: The same as `ftplugin`, except specifically for setting up\n  indent settings for specific filetypes.\n\n## Managing Plugins\n\nThe `plugins.list` file contains the locations of the repositories for the\nplugins. Plugins are stored in the `bundles` directory, which is read by\n[Pathogen](http://www.vim.org/scripts/script.php?script_id=2332) to load\nall the plugins.\n\nTo remove a plugin, simply remove it from `plugins.list` and run the\n`update` script.\n\n### Why not use submodules?\n\nWhen I was first exposed to using submodules for managing plugins with\nPathogen, I found them clunky and annoying. For example, the documentation tag\nfiles would dirty the working tree, even though I didn't care that the tree of\nthe submodule was dirty.\n\nWhile better alternatives may exist (I believe you can ignore dirty trees in\nsubmodules from the containing repository with a recent version of git), I find\nthe approach of explicitly listing your plugins in a file and running a script\nsimpler and cleaner.\n\n## License\n\n[WTFPL](http://en.wikipedia.org/wiki/WTFPL)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsds%2F.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsds%2F.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsds%2F.vim/lists"}