spiegela / Vimix
Vimux with Elixir Mix Integration
Stars: ✭ 32
Labels
Projects that are alternatives of or similar to Vimix
Morrowind
ports of the tango-based gedit "Oblivion" theme to other editors/ides
Stars: ✭ 14 (-56.25%)
Mutual labels: viml
Vim Jade
Vim syntax highlighting for the Jade templating engine.
Stars: ✭ 21 (-34.37%)
Mutual labels: viml
Vim Americanize
Auto-"correct" British spellings to their American equivalent.
Stars: ✭ 14 (-56.25%)
Mutual labels: viml
Linters.vim
Automatically run linters over your code as you write it
Stars: ✭ 28 (-12.5%)
Mutual labels: viml
Vim Llvmcov
The llvm-cov tool shows code coverage information for programs that are instrumented to emit profile data.
Stars: ✭ 30 (-6.25%)
Mutual labels: viml
Vim Monokai Refined
Port of Monokai Refined for TextMate/Sublime Text, using sickill's Coloration converter
Stars: ✭ 27 (-15.62%)
Mutual labels: viml
Vim Dragvisuals
Vim global plugin for dragging virtual blocks
Stars: ✭ 28 (-12.5%)
Mutual labels: viml
Vimix
vimux with Elixir mix integration
Installation
Put the contents of this directory into your pathogen bundle.
Usage
Vimix provides a number of available commands for common Mix tasks, so that you never have to leave your Vim session. Key mappings are disabled by default, but can easily be enabled by setting the following in your .vimrc:
let g:vimix_map_keys = 1
If you'd like run your tests in the context of IEx or change the way tests are run in other ways, you can customize the mix command like so:
let g:vimix_mix_command = "iex -S mix"
The default is just mix
.
Features
- Changes Vimux runner directory to your mix project root (looks for the mix.exs file)
- Detects correct test file for elixir source files
Commands
Here are the key mappings for your reference:
Key Map | Vim Command | Mix Command |
---|---|---|
<Leader>mT | VimixTestAll | test |
<Leader>mt | VimixTestCurrentFile | test <test file> |
<Leader>ml | VimixTestCurrentLine | test <test file>:<test line> |
<Leader>mc | VimixCompile | compile |
<Leader>mC | VimixClean | clean |
<Leader>mdc | VimixDepsCompile | deps.compile |
<Leader>mdg | VimixDepsGet | deps.get |
<Leader>mds | VimixDepsStatus | deps |
<Leader>mdU | VimixDepsUpdate | deps.update |
<Leader>mL | VimixLocal | local |
<Leader>mr | VimixPromptRun | <prompt for mix command> |
<Leader>mm | VimuxRunLastCommand | Run last command again |
Requirements
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].