{"id":15630405,"url":"https://github.com/augustohp/warwick-vim","last_synced_at":"2025-03-08T13:33:31.612Z","repository":{"id":137559479,"uuid":"143774112","full_name":"augustohp/warwick-vim","owner":"augustohp","description":"My dotfiles for VIM","archived":false,"fork":false,"pushed_at":"2024-07-24T22:04:12.000Z","size":529,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-04T10:33:02.988Z","etag":null,"topics":["castle","dotfiles","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/augustohp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2018-08-06T19:34:27.000Z","updated_at":"2024-07-24T22:04:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"513d1a98-7eea-4713-8302-c75b7b0f81f5","html_url":"https://github.com/augustohp/warwick-vim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustohp%2Fwarwick-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustohp%2Fwarwick-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustohp%2Fwarwick-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustohp%2Fwarwick-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augustohp","download_url":"https://codeload.github.com/augustohp/warwick-vim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221065122,"owners_count":16749808,"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":["castle","dotfiles","vim"],"created_at":"2024-10-03T10:32:34.730Z","updated_at":"2024-10-22T05:20:59.352Z","avatar_url":"https://github.com/augustohp.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Warwick: Vim\n\nMy [castle][] for VIM. The objective is to have an environment good for\nservers and my personal day to day use.\n\n[castle]: https://github.com/technicalpickles/homesick\n\n* Focus on web development\n* No *git submodules*\n* Minimal dependencies and plugins\n* Fast startup time (~ 2 min on the 1st bootstrap, ~70ms startuptime after)\n* Easy and customizible bootstrap, make yourself at home with 1 command\n\nQuick install, with [homeshick][] and [my dotfiles][warwick]:\n\n    $ bash \u003c(curl -L https://git.io/fNMTH)\n\nYou can [customize][] my bootstrap script to include your own dotfiles, although\nyou will be able to edit the [castles][castle] which will be cloned during the installation.\n\n[customize]: https://gist.github.com/augustohp/0b0f96249e399d4ec731830280fbe776\n[warwick]: https://github.com/augustohp/warwick\n[homeshick]: https://github.com/andsens/homeshick\n\n\u003ca href=\"https://www.github.com/nightsense/snow\"\u003e\n\u003cimg alt=\"snow theme\" src=\"https://github.com/nightsense/snow/raw/master/images/screenshot-light.png\" width='420' /\u003e\n\u003c/a\u003e\n\n## Notable plugins\n\nI use [vim-plug][1] to load plugins:\n\n* [CTRL+P][2] for fuzzy search on the project directory\n* [NerdTree][3] as file browser as [a true panel][4]\n* [Syntastic][5] for linting\n\n[1]: https://github.com/junegunn/vim-plug\n[2]: https://github.com/kien/ctrlp.vim\n[3]: https://github.com/scrooloose/nerdtree\n[4]: https://github.com/jistr/vim-nerdtree-tabs\n[5]: https://github.com/vim-syntastic/syntastic\n\n## Mappings\n\nI like to use some specific mappings on determined file extensions, ans also use\nthe file type configuration to be sane given an environment:\n\n* Shell files, Go, XML and JavaScript default to tabs\n* PHP and Markdown default to spaces\n* Git commit messages wrap lines at 72 columns and checks spelling on English\n\nMy **leader** is mapped to `\\`.\n\n* `\u003cleader\u003es`: Searches for the word under cursor and puts it on a [quickfix][q]\n\n[q]: http://vimdoc.sourceforge.net/htmldoc/quickfix.html\n\n### Mappings: PHP\n\n* `\u003cleader\u003ee`: Displays all methods on a given class on a [quickfix][q]\n* `\u003cleader\u003el`: Lints current file\n* `\u003cleader\u003ed`: Executes PHPUnit for current test file (uses Composer PHPUnit)\n* `\u003cleader\u003ec`: Checkstyle current file with PSR2 (uses Composer)\n\n### Mappings: Git\n\n* `\u003cleader\u003ed`: On the line containing a changed file, displays the diff\n* `\u003cleader\u003ec`: Over a hash, displays the content of it with `git show` (useful\n  during rebases)\n\n### Mappings: JavaScript\n\n* `\u003cleader\u003el`: Lints current file\n* `\u003cleader\u003ed`: Executes `npm test` for current test file\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustohp%2Fwarwick-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustohp%2Fwarwick-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustohp%2Fwarwick-vim/lists"}