bitboxer

bitboxer

How is your Vim set up?

In the last couple of months I only played a little bit with elixir, haven’t had much time to actually build something with it. But now that I am starting to actually use it for a project, I am curious what vim plugins everybody is using to make writing elixir as pleasant as possible inside of vim.

I shared my config in my blog and am very curious on what other vim users here use in their day to day elixir lives. Please share your config :slight_smile: .

Most Liked

minhajuddin

minhajuddin

I use neovim and a pretty big list of plugins

set termguicolors " use true colors in the terminal

" Make sure you use single quotes
call plug#begin('~/.vim/plugged')
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' " Group dependencies, vim-snippets depends on ultisnips, snippets
Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' } " On-demand loading , File browser
Plug 'tomasr/molokai' " colorscheme
Plug 'tpope/vim-sensible' " sensible defaults
" Plug 'shougo/deoplete.nvim' " autocomplete
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer --gocode-completer --tern-completer --racer-completer' }
Plug 'tpope/vim-fugitive' " git
Plug 'tpope/vim-surround' " surround
Plug 'tpope/vim-rails' " rails stuff
Plug 'tpope/vim-repeat'
"Plug 'actionshrimp/vim-xpath'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-projectionist'
Plug 'scrooloose/nerdcommenter'
Plug 'minhajuddin/zainu-vim'
Plug 'jiangmiao/auto-pairs'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'JazzCore/ctrlp-cmatcher'
Plug 'bling/vim-bufferline'
Plug 'yggdroot/indentline'
Plug 'mileszs/ack.vim'
Plug 'itchyny/lightline.vim'
Plug 'vim-airline/vim-airline'
Plug 'mattn/emmet-vim'
Plug 'fatih/vim-go'
Plug 'maksimr/vim-jsbeautify', {'do' : 'git submodule update --init --recursive'}
Plug 'godlygeek/tabular'
Plug 'scrooloose/syntastic'
Plug 'tpope/vim-abolish'
Plug 'minhajuddin/vim-quickrun'
Plug 'bronson/vim-trailing-whitespace'
Plug 'kana/vim-textobj-user'
Plug 'nelstrom/vim-textobj-rubyblock'
Plug 'marijnh/tern_for_vim', { 'do': 'npm install' }
Plug 'tacahiroy/ctrlp-funky'
Plug 'ConradIrwin/vim-bracketed-paste'
Plug 'DrawIt'
" elixir
Plug 'elixir-lang/vim-elixir'
Plug 'slashmili/alchemist.vim'
"Plug 'awetzel/elixir.nvim', { 'do': 'yes \| ./install.sh' }
Plug 'powerman/vim-plugin-AnsiEsc'
Plug 'thinca/vim-ref'
Plug 'neomake/neomake'
Plug 'diepm/vim-rest-console'
Plug 'ivalkeen/vim-ctrlp-tjump'
Plug 'editorconfig/editorconfig-vim'
Plug 'junegunn/rainbow_parentheses.vim'
Plug 'rust-lang/rust.vim'
Plug 'racer-rust/vim-racer'
"Plug 'majutsushi/tagbar'
Plug 'vim-airline/vim-airline-themes'
Plug 'junegunn/gv.vim'
Plug 'vimwiki/vimwiki'
Plug 'vim-erlang/vim-erlang-runtime'
" languages
Plug 'leafgarland/typescript-vim'
Plug 'lifepillar/pgsql.vim'
Plug 'vim-scripts/dbext.vim'

" trial
Plug 'airblade/vim-gitgutter'
Plug 'elmcast/elm-vim'
Plug 'tudorprodan/html_annoyance.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'ten0s/syntaxerl'
Plug 'kshenoy/vim-signature'
Plug 'janko-m/vim-test'
Plug 'benmills/vimux'
Plug 'tpope/vim-fireplace'
Plug 'sheerun/vim-polyglot'
Plug 'ludovicchabant/vim-gutentags'

runtime macros/matchit.vim
call plug#end()

source ~/r/dotfiles/vim.settings.vim
max-underthesun

max-underthesun

I’ve just started learning Vim (ST and Atom user).
Thanks a lot for your config and especially for tons of comments in it :slight_smile:
Very useful!

Thanks for pointing me to Janus, I’ll definitely give it a try… probably after I get used to Vim.

SpaceVim

SpaceVim

I also want to improve the lang#elixir layer in SpaceVim.

REPL for elixir

bitboxer

bitboxer

I started out with Janus, too. Its a nice distribution to start exploring vim (for me there are 2 approaches to learning vim, pointed out here). But after a while I wanted to configure vim more to my needs. I wanted to remove functionality that I didn’t need and add others. Basically I started again from scratch and rebuild my vim config based on my needs. This is what lots of people I know did. With this I don’t want to say that Janus is bad or just a beginners tool. Everyone uses Vim in a very unique own way. And for some Janus fits, and for others it doesn’t.

AstonJ

AstonJ

I am beginning to feel the same way - I want more control over my config. Partly because I want to know what’s standard Vim and what I’ve added, as a few times I have gone to do something on the server and it’s not worked (obviously because the config on the server is non-janus).

Thanks for your feedback! I might just strip out Janus and go solo :003:

Where Next?

Popular in Dev Env & Tools Top

mveytsman
If you use vim, upgrade alchemist.vim to 2.8.0 as soon as possible!! There’s a bug that allows any website to take over your computer. ...
New
hauleth
Question as in the title. Are You using EditorConfig in your projects? poll
New
AstonJ
Inspired by @jdiago’s post containing this slide: I thought it would be interesting discussing what independent languages like Elixir...
#ai
New
AstonJ
Following on from part of the discussion in the Digital Nomads & Frequent Travellers (Tips/Advice/Chat) thread, I thought it might be...
New
AstonJ
I wasn’t aware ZSH has plugins until @Samjowen mentioned one in the Share an Elixir or dev-env tip a day thread! Oh My Zsh comes bundle...
New
garrison
For those who are not aware, “AI agents” are, for the most part, commodity LLMs which are given access to “tools” and prompted to complet...
#ai
New
AndyL
For development and prototyping, I’d like to retain a basic ability to perform LLM inference on my own hardware, using open source models...
#ai
New
AstonJ
With AI being a hot topic in the mainstream right now and with our industry at its helm (so making us the people who might be able to do...
#ai
New
evnp
How do you all feel about the use of AI tools for building Elixir/Phoenix projects, with respect to these topics? Longform context below....
New
sodapopcan
I get the impression that the Elixir community at large is using nvim, though it occurred to me that I don’t actually know this so I thou...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New

We're in Beta

About us Mission Statement