Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattreduce/vim-mix

Vim plugin for using Elixir's build tool, mix
https://github.com/mattreduce/vim-mix

elixir elixir-lang mix vim vim-plugins vim-script

Last synced: 5 days ago
JSON representation

Vim plugin for using Elixir's build tool, mix

Awesome Lists containing this project

README

        

# mix.vim

Plugin for using Elixir's build tool, `mix`.

## Installation

I recommend installing [pathogen.vim][pathogen], then running the following:

cd ~/.vim/bundle
git clone git://github.com/mattreduce/vim-mix.git

## Usage

- `:Mix [command]` runs the default mix task (the "run" task, unless otherwise
configured), or the given command.
- `:Mclean` cleans generated application files
- `:Mcompile` compiles sources files
- `:Mdeps` lists project dependencies and their status
- `:Mdeps clean` removes dependency files
- `:Mdeps compile` compiles dependencies
- `:Mdeps get` gets all out of date dependencies
- `:Mdeps unlock` unlocks all dependencies
- `:Mdeps update` updates project dependencies
- `:Mtest` runs the project's tests

## Planned commands

- `:Mixfile` opens the project Mixfile.
- `:Mdeps unlock ` unlocks _specific_ dependencies
- `:Mdeps update ` updates _specific_ dependencies
- `:Mdo` executes the commands separated by comma
- `:Mescript` generates an escript and replaces the current buffer
- `:Mrun` runs the given expression

## License

Copyright © Matthew Conway. Distributed under the same terms as Vim itself.
See `:help license`.

[pathogen]: https://github.com/tpope/vim-pathogen