{"id":20594007,"url":"https://github.com/goncalossilva/vimrc","last_synced_at":"2025-03-06T14:29:46.030Z","repository":{"id":66273070,"uuid":"266859388","full_name":"goncalossilva/vimrc","owner":"goncalossilva","description":"Vim configuration","archived":false,"fork":false,"pushed_at":"2021-03-26T18:56:12.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T11:07:28.008Z","etag":null,"topics":[],"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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goncalossilva.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-25T19:06:21.000Z","updated_at":"2021-03-26T18:56:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3c60103-f9c8-4a20-83ec-d10c55305c01","html_url":"https://github.com/goncalossilva/vimrc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalossilva%2Fvimrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalossilva%2Fvimrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalossilva%2Fvimrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goncalossilva%2Fvimrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goncalossilva","download_url":"https://codeload.github.com/goncalossilva/vimrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242226819,"owners_count":20092854,"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":[],"created_at":"2024-11-16T07:50:33.675Z","updated_at":"2025-03-06T14:29:46.011Z","avatar_url":"https://github.com/goncalossilva.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gonçalo's vim configuration\n\nThis repo contains my [vim configuration](vimrc) and [plugins](pack/vendor/start), used across Linux and macOS.\n\n# Setup\n\n1. `git clone --depth 1 git@github.com:goncalossilva/vimrc.git ~/.vim`\n2. `cd ~/.vim \u0026\u0026 git submodule update --init`\n\nDone.\n\nTo update all plugins, run `git submodule update --remote`.\n\n## A note on ALE\n\nBesides linting and (auto-)fixing, [ALE](https://github.com/dense-analysis/ale) is used for intellisense-like completion, replacing alternatives like [coc.vim](https://github.com/neoclide/coc.nvim). To have linters, LSPs, etc, available without polluting \\$PATH, install them locally and source them.\n\nFor example (you probably don't need all of these):\n\n```\n$ mkdir -p $HOME/.vim-ale/{pip,npm,gem,go,git}`\n$ pip install --target=\"$HOME/.vim-ale/pip\" black pylint mypy python-language-server gitlint\n$ npm install --prefix=\"$HOME/.vim-ale/npm\" bash-language-server vim-language-server prettier prettier-eslint eslint typescript htmlhint\n$ gem install --install-dir=\"$HOME/.vim-ale/gem\" rubocop solargraph\n$ GOPATH=\"$HOME/.vim-ale/go\" go get golang.org/x/lint/golint\n$ GOPATH=\"$HOME/.vim-ale/go\" GO111MODULE=\"on\" go get mvdan.cc/sh/v3/cmd/shfmt\n$ git clone https://github.com/elixir-lsp/elixir-ls.git $HOME/.vim-ale/git/elixir-ls \u0026\u0026 cd $HOME/.vim-ale/git/elixir-ls \u0026\u0026 mix deps.get \u0026\u0026 mix compile \u0026\u0026 mix elixir_ls.release\n```\n\nAnd then in your vim configuration:\n\n```\nlet $PYTHONPATH .= $HOME.'/.vim-ale/pip'\nlet $PATH .= ':'.$HOME.'/.vim-ale/pip/bin'\nlet $PATH .= ':'.$HOME.'/.vim-ale/npm/node_modules/.bin'\nlet $PATH .= ':'.$HOME.'/.vim-ale/gem/bin'\nlet $PATH .= ':'.$HOME.'/.vim-ale/go/bin'\nlet g:ale_elixir_elixir_ls_release = $HOME.'/.vim-ale/git/elixir-ls/release'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoncalossilva%2Fvimrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoncalossilva%2Fvimrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoncalossilva%2Fvimrc/lists"}