Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.
/ vim-elixir-ide Public archive

Quick setup for elixir and vim based off farazdagi's vim-go-ide

Notifications You must be signed in to change notification settings

gregpardo/vim-elixir-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-elixir-ide

Get started with Elixir development in minutes!

This repository is a modified version of farazdagi's original vim-go-ide

I simply modified some things for elixir development.

1. Install runtime:

git clone [email protected]:gregpardo/vim-elixir-ide.git ~/.vim_elixir_runtime
sh ~/.vim_elixir_runtime/bin/install

NOTE: You system's Vim configuration will NOT be changed i.e. it is safe to install.

2. Run your newly installed Vim configuration:

Remember that your system's Vim config files remain untouched? During installation .vimrc.elixir is created. Let's use it:

vim -u ~/.vimrc.elixir

And btw, nothing prevents you from creation of a handy alias in your .zshrc:

alias vimelixir='vim -u ~/.vimrc.elixir'

3. Mix tasks:

Included in the vim plugins is vim-mix. Commands are mapped as follows. The default leader key is ','.

,md - Mix command (runs default mix command)
,mc - Clean
,mm - Compile
,md - Mix list dependencies
,mdc - Mix dependency clean
,mdm - Mix dependency compile
,mdg - Mix dependency get
,mdu - Mix dependency update
,mt - Mix test

4. Color scheme support

You can use any supported colorscheme from this list

The default is molokai with dark background. To use a color scheme pass the scheme to the install command.

~/.vim_elixir_runtime/bin/install railscasts dark

5. End-result:

Screenshot

Yep, that's it!

About

Quick setup for elixir and vim based off farazdagi's vim-go-ide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages