Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

exenv.el

use exenv to manage your Elixir versions within Emacs

Installation

(add-to-list 'load-path (expand-file-name "/path/to/exenv.el/"))
(require 'exenv)
(global-exenv-mode)

Usage

  • global-exenv-mode activate / deactivate exenv.el (The current Elixir version is shown in the modeline)
  • exenv-use-global will activate your global Elixir version
  • exenv-use allows you to choose what elixir version you want to use
  • exenv-use-corresponding searches for .exenv-version and activates the corresponding Elixir version

Configuration

exenv installation directory By default exenv.el assumes that you installed exenv into ~/.exenv. If you use a different installation location you can customize exenv.el to search in the right place:

(setq exenv-installation-dir "/usr/local/exenv")

IMPORTANT: Currently you need to set this variable before you load exenv.el

the modeline exenv.el will show you the active Elixir version in the modeline. If you don't like this feature you can disable it:

(setq exenv-show-active-elixir-in-modeline nil)

The default modeline representation is the Elixir version (colored purple) in square brackets. You can change the format by customizing the variable:

;; this will remove the colors
(setq exenv-modeline-function 'exenv--modeline-plain)

You can also define your own function to format the Elixir version the way you want.

About

use exenv to manage your Elixir versions within Emacs

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages