Ⅰ. 插件描述
Elixir Integration Into VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'slashmili/alchemist-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'slashmili/alchemist-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'slashmili/alchemist-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/slashmili/alchemist.vim
Ⅳ. 文档说明
# alchemist.vim
This plugin uses ElixirSense to give inside information about your elixir project in vim. (looking for old version that works with alchemist-server? checkout 2.8.2)
alchemist.vim supports:
- Completion for Modules and functions.
- Documentation lookup for Modules and functions.
- Jump to the definition.
- Mix integration.
- IEx integration.
Installation
You need to have Erlang(OTP >= 19) and Elixir installed in your machine.
Use your favourite VIM plugin manager for installation, in this doc we use Vundle
Add this line to your .vimrc
Plugin 'slashmili/alchemist.vim'
Documents
You can find more about short keys, commands and configs here.
Issues
If you faced any problem, create a new issue in the issue tracker.
Contributors
Contributing
Fork the project and help to add new features to the project. Don't know what to contribute? Take a look at the project todo list
Remember all interactions on our repositories follow elixir's Code of Conduct.