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

I Found My Productivity MACHINE After a Decade of Keyboards This issue is brought to you by: 🔍 Elevate Your UI Testing with Squish 🔍 Achieving seamless cross-platform testing doesn’t have to be complex. Squish provides a powerful solution for automating UI tests across all major operating systems, with robust support for Java, Windows, mobile applications, and more. Start Your Free Trial Today! “We become what we behold. We shape our tools, and thereafter our tools shape us.” - John Culkin,...

It was only two weeks ago that I felt like I’m on the bleeding edge of technology after realizing I’ve been ignoring fish shell and decided to give it a go. The pile of comments mentioning Nushell left me no choice, so today we’re checking it out, and trying to see whether it’s worth the switch, and for whom. Ever felt frustrated parsing JSON or CSV files in your terminal? I know I did. The traditional Unix shell treats everything as text streams, making it surprisingly hard to work with...

When Mitchell Hashimoto, the creator of Terraform and Vagrant, builds something new, the tech world pays attention. His latest creation, Ghostty, isn’t just another terminal emulator—it’s a reimagining the OS native aspects of terminal emulator which was quite missing until today. “In short, Ghostty 1.0 aims to be the best drop-in replacement for your current terminal emulator on macOS and Linux. Ghostty will be fast, feature-rich, and have a platform-native GUI while being the most...