I found the secret for Neovim pair programming


Hi friends,

Ever felt like your remote pair programming sessions were missing that seamless, in-person collaboration feel?

You’re not alone.

Many developers struggle to recreate the magic of side-by-side coding in a virtual environment.

A recent study shows that pair programming has been proven to catch mistakes early, reduce defects, and lead to better designs. The same study found that teams who practice pair programming not only produce shorter, more efficient code but also solve problems faster and enjoy their work more.

However, achieving this level of collaboration remotely has been a challenge – until now.

Most developers resort to screen sharing or clunky IDE plugins for remote pair programming.
But what about those of us who live in the terminal?

Enter Tmate – the pair-programming game-changer for Neovim enthusiasts and terminal lovers.

Tmate: a fork of Tmux

Offers a brilliant solution for secure and instant terminal sharing:

  1. Install Tmate on your system (available for most platforms).
  2. Start a Tmate session, which will provide you with a unique SSH address (or a webview option!)
  3. Share this address with your coding partner.
  4. Your partner can now join your terminal session, seeing and interacting with your Neovim environment in real-time.

But Tmate isn’t just about sharing your screen.

It offers fine-grained control:

  • Create read-only sessions for code reviews.
  • Use named sessions with static URLs for recurring collaborations.
  • Limit sessions to specific processes for focused work.

By mastering Tmate for Neovim pair programming, you’re not just solving a technical challenge – you’re enhancing your entire collaborative coding experience.

Feel free to reply here directly with your views - do you have a better setup?
Do you feel differently about pair programming?

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

The Cursor Experience, With Neovim's Magic This issue is brought to you by: Auth0 lets you authenticate25,000 users for free! Get Started Here! 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...

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