Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Elixir
  3. vim-elixir

vim-elixir

NOASSERTIONRuby

Vim plugin providing syntax highlighting, filetype detection, and indentation for Elixir and EEx files.

Visit WebsiteGitHubGitHub
1.3k stars154 forks0 contributors

What is vim-elixir?

vim-elixir is a Vim plugin that adds language support for Elixir, including syntax highlighting, filetype detection, and automatic indentation. It solves the problem of editing Elixir code efficiently in Vim by providing essential editor features tailored to the language's syntax and file types.

Target Audience

Elixir developers who use Vim or Neovim as their primary code editor and want native language support without switching to a different IDE.

Value Proposition

Developers choose vim-elixir for its lightweight, focused approach to Elixir editing—it delivers reliable core features without bloat, integrates well with existing Vim workflows, and is maintained by the Elixir community.

Overview

Vim configuration files for Elixir

Use Cases

Best For

  • Editing Elixir .ex and .exs files in Vim with proper syntax highlighting
  • Working with Phoenix templates like .eex, .heex, and .leex files
  • Automatically indenting Elixir code according to language conventions
  • Integrating Ecto projects with vim-dadbod for database query execution
  • Setting up a minimal Elixir development environment in Vim/Neovim
  • Maintaining consistent editing experience across Elixir file types

Not Ideal For

  • Developers who need built-in, automatic code formatting with mix format
  • Users requiring advanced IDE features like live view support or integrated debugging tools
  • Teams prioritizing plugins with active, frequent updates and a large ecosystem of integrations

Pros & Cons

Pros

Comprehensive File Support

Supports syntax highlighting and filetype detection for all major Elixir file types including .ex, .exs, .eex, .heex, .leex, and .sface, as detailed in the README's features list.

Lightweight and Stable

Focuses on core editing features without unnecessary dependencies, prioritizing stability and performance, which aligns with the project's philosophy stated in the description.

Ecto Database Integration

Integrates with vim-dadbod to run SQL queries on Ecto repositories directly from Vim, enhancing workflow for database interactions, as specified in the README.

Cons

Missing Formatting Integration

Deliberately excludes mix format support due to compilation issues and external process dependencies, requiring manual setup with plugins like vim-mix-format, as admitted in the Notes/Caveats section.

Maintenance Uncertainty

Actively seeking new maintainers, which could slow bug fixes and updates, as highlighted in the Development section under 'Maintenance Help'.

Indentation Edge Cases

Known issues with indentation rules for constructs like 'with' statements, requiring workarounds, as mentioned in the feature wishlist for fixes.

Frequently Asked Questions

Quick Stats

Stars1,325
Forks154
Contributors0
Open Issues33
Last commit1 year ago
CreatedSince 2012

Tags

#filetype-detection#elixir#developer-tools#syntax-highlighting#text-editor#vim-plugin

Built With

V
Vimscript
R
Ruby
D
Docker

Links & Resources

Website

Included in

Elixir13.1k
Auto-fetched 1 day ago

Related Projects

JetbrainsJetbrains

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)

Stars1,899
Forks163
Last commit2 days ago
AlchemistAlchemist

Elixir Tooling Integration Into Emacs

Stars913
Forks102
Last commit4 years ago
elixir-lselixir-ls

A frontend-independent IDE "smartness" server for Elixir. Implements the JSON-based "Language Server Protocol" standard and provides debugger support via VS Code's debugger protocol.

Stars845
Forks49
Last commit6 years ago
Alchemist.vimAlchemist.vim

Elixir Integration Into Vim

Stars645
Forks38
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub