mix.vim


Ⅰ. 插件描述

Vim plugin for using Elixir's build tool, mix

Ⅱ. 基本信息

创建日期:  2013-05-14
使用用户:  211
Github星:  64
插件作者:  Matthew Conway

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mattreduce/mix-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mattreduce/mix-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mattreduce/mix-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mattreduce/vim-mix

Ⅳ. 文档说明

# mix.vim

Plugin for using Elixir's build tool, mix.

Installation

I recommend installing pathogen.vim, 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 <deps> unlocks specific dependencies
  • :Mdeps update <deps> 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.

添加新评论