ProductPromotion
Logo

Elixir

made by https://0x3d.site

GitHub - brendalf/mix.nvim: A Mix Wrapper for Neovim
A Mix Wrapper for Neovim. Contribute to brendalf/mix.nvim development by creating an account on GitHub.
Visit Site

GitHub - brendalf/mix.nvim: A Mix Wrapper for Neovim

GitHub - brendalf/mix.nvim: A Mix Wrapper for Neovim

mix.nvim

A Mix (Elixir) wrapper for Neovim.

This plugin adds a :Mix (or just :M), which calls any arbitrary Mix command.

If you know how to use Mix at the command line, you know how to use :Mix.

It's vaguely akin to :!mix but with some improvements:

  • Autocompletion for available Mix commands inside the current repository.
  • Choose the type of window you want to show the output (WiP).
  • Support Telescope integration to navigate through package's documentation (WiP).
  • Run async commands inside Neovim (WiP).

ezgif-1-ca42871cbc

Getting Started

This section should guide you to run your first Mix command with :Mix.

Neovim 0.7 or higher is required for mix.nvim to work.

Recommended dependencies

Installation

Using packer.nvim

use { 'brendalf/mix.nvim', requires = { "nvim-lua/plenary.nvim" } }

Using vim-plug

Plug 'nvim-lua/plenary.nvim'
Plug 'brendalf/mix.nvim'

Using dein

call dein#add('nvim-lua/plenary.nvim')
call dein#add('brendalf/mix.nvim')

After installing, you need to initialize mix.nvim with the setup function.

For example:

require("mix").setup()

Usage

The basic usage is :Mix <command><cr>.

Type :Mix help to see if mix.nvim is installed correctly.

If you have hrsh7th/cmp-cmdline installed:

  • Type :Mix and press space to see the available Mix commands (this could take a couple seconds in the first run).
  • With the commands loaded you can start typing to get a smooth auto complete experience.

If you are using neovim (or lunarvim) without any cmd plugin:

  • Type :Mix, press space, and then press tab to see the available Mix commands.
  • Use tab to cycle through the commands or type the whole command wording.

As mentioned above, loading the list of commands in the first time can take some time, because mix.nvim is actually reading them from the output of mix help.

To enable a smooth experience, we save the list of commands internally after the initial loading.

To update the cache, you can call :MixRefreshCompletions.

Contributing

All contributions are welcome! Just open a pull request.

Please look at the Issues page to see the current backlog, suggestions, and bugs to work.

License

Distributed under the same terms as Neovim itself.

Articles
to learn more about the elixir concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Elixir.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory