{"id":15063642,"url":"https://github.com/sodapopcan/vim-mixer","last_synced_at":"2025-04-10T11:25:04.359Z","repository":{"id":256073045,"uuid":"825131412","full_name":"sodapopcan/vim-mixer","owner":"sodapopcan","description":"Elixir text objects + Mix ecosystem tools","archived":false,"fork":false,"pushed_at":"2025-03-29T22:43:13.000Z","size":421,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T05:12:44.640Z","etag":null,"topics":["elixir","mix","vim"],"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/sodapopcan.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":"2024-07-06T21:49:03.000Z","updated_at":"2025-03-29T22:17:22.000Z","dependencies_parsed_at":"2024-09-08T21:12:59.445Z","dependency_job_id":"edc576d1-4a16-4699-b1fb-6c094ebc9fe1","html_url":"https://github.com/sodapopcan/vim-mixer","commit_stats":null,"previous_names":["sodapopcan/vim-mixer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodapopcan%2Fvim-mixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodapopcan%2Fvim-mixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodapopcan%2Fvim-mixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sodapopcan%2Fvim-mixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sodapopcan","download_url":"https://codeload.github.com/sodapopcan/vim-mixer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208613,"owners_count":21065203,"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":["elixir","mix","vim"],"created_at":"2024-09-25T00:05:17.092Z","updated_at":"2025-04-10T11:25:04.340Z","avatar_url":"https://github.com/sodapopcan.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mixer.vim\n\nPlugin for working with Mix projects and Elixir files.\n\nSome functionality, like text objects, depend on [elixir.vim](https://github.com/elixir-editors/vim-elixir).\n\n## Features\n\n### Text objects\n- `ad`/`id` - Any macro with a `do` block.  Works on user-defined macros as\n  well as keyword syntax.\n- `aD` - Like `ad` but include any assignment and/or attached comments (`iD`\n  exists for convenience but is identical to `id`).\n- `af`/`if` - A function/macro definition\n- `aF` - Like `af` but include all heads, docs, annotations, `attr` and\n  `slot` declarations, and even matching `do_`-prefixed heads (`iF` exists\n  for convenience but is identical to `if`).\n- `iS`/`aS`- A sigil\n- `im`/`am`- A map or struct\n- `iM`/`aM`- A module\n- `ic`/`ac`- A comment or documentation\n\n### Conveniences\n- `'commentstring'` is dynamically set in embedded HEEx/Surface.\n- [matchit](https://www.vim.org/scripts/script.php?script_id=39) works in\n  embedded HEEx/Surface templates.\n- Automatically sets `:compiler` if the appropriate plugin is found.\n- [experimental] Remaps `ctrl-]` in templates that will jump to a phx-hook\n  definition (it's pretty smart about it) or event handlers on other `phx-`\n  attributes.  Unfortunately this has a dependency on git-grep atm.\n\n### Commands\n- `:Mix` runs a mix command with autocomplete.\n  - Uses [dispatch](https://github.com/tpope/vim-dispatch), [neomake](https://github.com/neomake/neomake),\n  [asyncrun](https://github.com/skywind3000/asyncrun.vim), or [asyncdo](https://github.com/hauleth/asyncdo.vim)\n  if available.\n  - `:Mix!` does whatever the `!` version of your async runner does\n  - `:Mix ! cmd` to run via `:!`--incidentally, `:Mix!!` also works.\n- `:Deps` doesn't just wrap `Mix deps` but adds functionality like dynamically adding\n  packages under your cursor (`:Deps add floki`, for example) or jumping to your `deps`\n  function no matter what you've called it (`:Deps` with no args).\n- `:Gen` is a unified command for running `gen` tasks (with autocomplete!), eg:\n  - `:Gen migration add_name_to_users`\n  - `:Gen live Accounts User users name:string age:integer`\n- `:IEx` starts a `:term` window running iex.\n  - Give a range or in visual mode, load the selected lines into a new `:term`\n    session.  This \"connects\" the two, updating the terminal with any changes\n    to the selected region.\n\nSee `:help mixer` for more details!\n\n## Recommended Plugins\n\n- [closetag](https://github.com/alvan/vim-closetag)\n\n  Auto-close HTML tags.  Mixer is aware of this plugin and will extend\n  `g:closetag_regions` for you so it will work with your cursor inside\n  `~H` or `~F`.  Due to the way closetag is implemented, you must\n  configure the appropriate filetypes on your own.\n\n- [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim)\n\n  Among other things, it lets you pipe and unpipe args.\n\n- [endwise.vim](https://github.com/tpope/vim-endwise)\n\n  Auto-adds `end` after hitting `\u003ccr\u003e` in insert mode (or just use copilot,\n  I guess).\n\n## License\n\nDistributed under the same terms as Vim itself. See `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodapopcan%2Fvim-mixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsodapopcan%2Fvim-mixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsodapopcan%2Fvim-mixer/lists"}