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 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

You Need To Learn Docker Swarm! Ever felt like you're overcomplicating your container deployments? You might be. Today, we're diving into a Docker orchestrator that's likely already on your machine (run `docker service` for a second will ya?), but you're probably overlooking: Docker Swarm. The Underdog Orchestrator For years (for me, the past 11 years to be exact), the path has seemed to be either simple Docker Compose or the more, WAY MORE complex, Kubernetes. Compose is great for local...

LimaVM Is Probably The Best MacOS Virtual Machine I've Ever Used If you're tired of Docker Desktop bogging down your machine, or simply don't like fuff of mapping ports, mounting volumes when all you need is a small virtual environment, this one's for you. I recently discovered LimaVM, and it's a game-changer for local development. It lets you spin up Linux VMs with ease, offering a faster, lighter alternative to Docker and other VM managers for many tasks, but especially for development....

Coding Is Changing. Here's How I Stay AHEAD This issue is brought to you by: Ideas to apps in seconds with Lovable Lovable is your superhuman full stack engineer. Click here for double credits when signing up The AI revolution isn't replacing engineers (IMHO) - it's changing how they work and which skills matter most. I mean, look at the sponsor of this week, a "vibe coding" platform that creates your idea in no time. But, does it actually matter for developers / devops and other tech...