sodapopcan

sodapopcan

I’m wondering who still uses Vim for Elixir dev in these parts. VS Code appears to be the editor of choice for most or at least that is my impression!

I ask because I’m recently somewhat hellbent on fixing all the annoyances I’ve had with the existing vim integrations and wondering how far I should take it. I also just want a taste of how big the vim user-base is amongst Elixir devs and also curious how many vimmers have defected over to VS Code.

Say hi, if you will! :slight_smile:

Showing Posts 1 to 10

cnck1387

cnck1387

I switched to Vim around 2 years ago and plan to stick with it. But I don’t use any language servers. I’m a fan of a light weight autocomplete that picks up what’s open in any open buffers (similar to how Sublime Text does it) combined with snippets.

sodapopcan

sodapopcan OP

Oh ya, I love reading vimrcs and it would be great if people shared theirs. I’ve read probably 100 vimrcs over the past 10 years and I’ve learned something new from every single one no matter what the skill-level of the author is.

Mine is here: GitHub - sodapopcan/dotfiles: My config files · GitHub

dbern

dbern

Hello!
Love vim. I’m using neovim 0.5 built-in LSP for working with ElixirLS. However, 0.5 isn’t released yet, but when it is I’ll update my blog with how to use it. In the meantime my dotfiles may be helpful.

I haven’t done this yet, but there’s a prettier plugin for EEX formatting and an idea of a persistent Node process (like an LSP) for quick formatting. Or vim-prettier to run on demand.

AstonJ

AstonJ

I was a fairly big MacVim user but kept finding myself using TextMate 2 because it’s just such a nice looking editor on macOS. I miss things like split panes in Vim tho and I am hoping to get back into Vim via Onivim and as its development progresses - it’s stunning!

(We are also giving away a lifetime licence every month over at Devtalk if anyone’s interested)

lud

lud

I’m using neovim from time to time, learning it. I use CoC but that is still way more responsive than vscode. I use vscode and sublime too, and I really can’t make a definitive choice, unfortunately.

sorentwo

sorentwo

Oban Core Team

I’m a long time vim/neovim user. At this point tmux and vim keybindings are so ingrained that I can barely navigate elsewhere.

I use the elixir language server, which is 95% awesome. The 5% that is painful boils down to random crashes and dialyzer weirdness.

My dotfiles are available and somewhat minimal: GitHub - sorentwo/dotfiles: Dotfiles · GitHub

gregvaughn

gregvaughn

Another (neo)vim user here. I tried a language server last year, but it wasn’t ready enough for day-to-day use for me. It’s probably advanced enough for me to spend some more time trying it again, but I need to find that window of time to do so.

AndyL

AndyL

I use Neovim. Used IntelliJ for years. With elixir-lsp and coc, I switched 100% Nvim and Tmux. Looking forward to general release Neovim 0.5 to see what can be done with built-in LSP and Treesitter. My 2021 todo-list includes learning to write a simple Elixir refactoring plugin in Lua.

cmkarlsson

cmkarlsson

I’ve used vim since 2001 when I swapped over from emacs. Today the plugins I use, beside language syntax specific ones are vim-tmux-navigator fzf-vim and vimwiki.

fzf-vim has been the most productive one for me. Mostly because it makes it so quick to change between buffers. Learning to use buffers was the biggest productivity boast for me in the last couple of years. In an elixir (with fish shell) I just open all the files and navigate using fzf.

$ vim lib/**/*.ex lib/**/*.eex

The I have the config nmap <silent> bg :Buffers<CR> in .vimrc. Typing bg normal mode takes me to a fuzzy search for files. A simple key sequence would be:
bg page contr<CR> to open up lib/someapp_web/controller/page_controller.ex and I am in the right buffer. So quick, so responsive. The later versions also got a preview pane of the buffer you are selecting. Pretty cool.

I do the same for massive java projects as well. Just vim src/**/*.java and together witch ctags and I can just fly around in the code base. No GUI editor comes even close.

Apart from that I try to use as much vanilla vim as possible.

Lately I am writing typescript for a project and I added coc and coc-tsserver to the plugins because having type hints is nice. Unfortunately the added latency to the editor makes in not worth it. I don’t want to wait for my editor.

This is why I find VSCode and Intellij almost unusable. The latency to do things is stopping me from working properly. It doesn’t give the correct feedback and sometimes misses my key strokes. Never happens with vim. Those editors are slow and temperamental. They don’t always do what I tell them to. In general I don’t like slow things and find the modern computing environment challenging with slow web pages and software. It shouldn’t have to be that way. It should be better.

baldwindavid

baldwindavid

I started using vim-mode in various editors about 6 years ago and switched to neovim about 3 years ago. I use alchemist.vim for language integration and haven’t had any issues with it. I don’t think I could go back to a normal editor, but hope to switch to OniVim in the next few months. My workflow consists of a single window and anywhere between 2-8 split panes open at a time.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews