The Cursor Experience, With Neovim's Magic


The Cursor Experience, With Neovim's Magic

This issue is brought to you by:

Auth0 lets you authenticate
25,000 users for free!

The line between human and AI-assisted coding is becoming increasingly blurred.

While VS Code (oh my god I mentioned it) users have been enjoying AI assistance through GitHub Copilot or better yet, “switching” to it’s popular fork - Cursor AI, which creates an “immersive” coding experience by literally having a conversation with the code base.

With all the Cursor craze, many Neovim users have felt left out.

Some covered it by saying it "defeats the purpose", as if an amazing text editor, can't benefit a code generation plugin.

While many plugins do help bringing AI to Neovim users, it never was the cursor experience.

All of that is changing with Avante, a plugin bringing Cursor-like capabilities to the Neovim ecosystem.

Avante (Spanish for “ahead”) transforms Neovim into a real AI-integrated development environment that maintains the efficiency of vim’s phenomenal text editing features, while adding natural language code generation UX.

Instead of switching between multiple tools or suffering through mouse-dependent interfaces (😷), Neovim users can now access Cursor-like assistance without leaving their environment.

What sets Avante apart is its context-aware capabilities. While traditional AI coding assistants often work in isolation, Avante can understand your entire codebase through its (warning: experimental!) @codebase feature (more on that here). This means you can ask it to suggest improvements or generate code with full awareness of your project’s structure and dependencies.

The plugin supports multiple AI providers (with Claude as the default) and can handle everything from creating new projects from scratch, to implementing complex features like authentication flows like I’ve done in this video.

Getting started with Avante is pretty straightforward:

  1. Install via your preferred package manager (lazy.nvim supported)
  2. Configure your AI provider API key. Using Claude? This can be somewhat confusing, you can generate keys from Anthropic’s dashboard.
  3. Access AI assistance through commands like ‘Avante ask’ (:Avanate <tab> to see all the options avante provides)
  4. Review and accept/reject suggestions using familiar Vim commands. This process has two steps -
    1. The generated code and explanations are presented in markdown format, which you can either review and accept one by one, or simply take the entire thing.
    2. Once accepted (all or some of) the changes, it’ll then be presented as a pull request, kind of like the ones you’re used to seeing on Github. Then, there’s a second step of accepting or rejecting code.

Give Avanate a go and play around with it. I let it build things from scratch and was quite amazed at what I can achieve by simply “speaking” to my editor…

Have a great weekend!

ESPRESSO FRIDAYS

Every once in a while I send hand picked things I've learned. Kind of like your filter to the tech internet. No spam, I promise!

Read more from ESPRESSO FRIDAYS

This Neovim "Plugin" Replaces 40 Others You know the feeling of finding a new improvement to your setup that you KNOW is going to change it completely? "Imagine living your entire life carrying heavy loads on your back dragging things through the road thinking: `well that's just how it is`" - Homo sapiens, before the invention of the wheel That's exactly what coding without mini.nvim feels like once you've experienced its power, especially if you're Neovim setup was closer to vanilla. Will...

This $600 Keyboard's Best Feature Is Also Its Biggest Flaw I always felt like my keyboard was missing something. First, it was the ergonomic split that my wrists craved. Then, when I got my Moonlander, it was the awkward reach for crucial keys (what's up with that thumb cluster ZSA?). Until one day, I stumbled upon a keyboard that seems similar, but is very much different: the Dygma Defy, a keyboard that promised to turn my thumbs into power users. The Defy arrived like a treasure chest....

THIS Is The Terminal For People Who Just Want Things To Work Picture this: You're watching a skilled developer, one that you value their skills, repeatedly hitting the up arrow key, hunting for that command they used yesterday. Then, another senior, pops up three different default terminal windows just to show you their process running, while sending requests from the other, instead of simply splitting their terminal screen. Sound familiar? That's the reality for the vast majority of terminal...