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

How I Setup Terminal On My Mac To Make It Amazing I often get asked about my "terminal setup", and I try to throw tips but it's never enough. This answer took a long time to compile but I'm glad to share it: A terminal setup from scratch (literal white screen terminal) to multiplexing, color output, auto-completion, history manager, fonts, nerd fonts etc etc etc... I learned that the journey to a “perfect” terminal setup is a personal one, built from years of small, incremental improvements....

The Unreasonable Effectiveness of 12-Factor Apps This issue is brought to you by: Twingate: It's time to ditch your VPN. Keep private resources and internet traffic protected with Zero Trust security tools built for the modern world of work. Start securing your Kubernetes clusters today! The title of this newsletter isn’t just fluff; it points to a fundamental truth in software development. Often, the most expensive problems stem from ignoring a few simple, foundational rules. The...

Custom computer build with blue led lighting

FFmpeg Converts ANYTHING - The Trick Book I Wish I Had This issue is brought to you by: Learn backend development the smart way with boot.dev Use the code DEVOPSTOOLBOX to get 25% off your first payment for boot.dev. Get Started Today The title of this newsletter isn't an exaggeration. There's a single, free tool that can genuinely convert, create, and manipulate almost any media file you throw at it. It’s the hidden engine powering everything from YouTube, through OBS, online media...