Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gravityblast/vimux-elixir

run elixir tests in vim
https://github.com/gravityblast/vimux-elixir

Last synced: about 9 hours ago
JSON representation

run elixir tests in vim

Awesome Lists containing this project

README

        

# vimux-elixir

Run elixir tests in vim.

![vimux-elixir](http://g.recordit.co/vN3WbmrCkL.gif)

## Dependencies

* [vimux](https://github.com/benmills/vimux)

## Installation

If you use Vundle add this line to your `.vimrc` file:

Plugin 'pilu/vimux-elixir'

# with an older vundle version you would need to use Bundle
# Bundle 'pilu/vimux-elixir'

## Commands

Running all tests:

:ElixirTestAll

Running tests for current file:

:ElixirTestFile

Running test for current line:

:ElixirTestFocused

## Mapping

Put the following configuration in you `~/.vim/ftplugin/elixir.vim` file:

```viml
map ra :wa :ElixirTestAll
map rf :wa :ElixirTestFile
map rt :wa :ElixirTestFocused
```