One Neovim Plugin, 10x Quality of Life


One Neovim Plugin, 10x Quality of Life

This issue is brought to you by:

Ready to Take Your Testing to the Next Level?


Don’t let complex testing slow you down! With Squish, you can automate your entire UI testing process across multiple platforms, ensuring both speed and accuracy. 

Ever found yourself drowning in a sea of Neovim plugins, each promising to solve one small problem but collectively creating a configuration nightmare?

You're not alone. Today, we're diving into snacks.nvim, a brand new plugin collection by folke that's upgrading our Neovim quality of life with one installation.

"Tools should not only be for experts — they should turn us into them."

The Neovim community has witnessed an explosion of plugins, each addressing specific needs.

Many developers find themselves copying configurations from GitHub, stacking plugins upon plugins, leading to a bloated setup that's hard to maintain, I know I have done this myself and am probably responsible for others in the wild.

According to "The Future of Vim: Modern Text Editing" by Drew Neil (which is my favorite Vim book and how I got into it back in the day), this approach often results in decreased productivity despite the promise of enhancement.

snacks.nvim takes a different approach. Instead of adding another single-purpose tool to your arsenal, it provides a set of features that work together.

Here's what I like about it:

Smart Performance Optimization

  • Intelligent file handling prevents loading resource-intensive plugins for large files
  • Buffer management that maintains view integrity
  • Optimized startup time without sacrificing functionality

Enhanced Visual Experience

  • Customizable welcome dashboards supporting ASCII art and dynamic content (I made my own ASCII using an image converter)
  • Improved notification system with easy dismissal (goodbye, annoyingly-long-lasting error messages!)
  • Clean, modern floating windows that don't disrupt your workflow

Git Integration Revolution

  • Built-in Lazygit integration in floating windows
  • Visual branch browser with interactive commit history
  • One-click GitHub integration that opens your remote repository at your current line (!)
  • Enhanced blame view with commit details in floating panes

Quality of Life Improvements

  • Integrated terminal that you can summon and dismiss instantly (someone's thinking of Tmux floax?)
  • Quick file configuration for faster startup
  • Recent files telescope integration (I never thought this old GUI based apps feature would be so useful!)
  • Smart rename feature that works with popular file explorers

The beauty of snacks lies in its configureability and sensible defaults: While everything is customizable, you don't need to spend hours configuring it.

Start by installing through your package manager and grab the basic configuration.

For the best experience, consider these tips:

  1. Start with the basic configuration and gradually customize
  2. Get rid of your good old Nvim Notify - time for a new one from snacks!
  3. Experiment with the dashboard layouts - try incorporating your own ASCII art
  4. Learn the default keybindings before changing them
  5. Use the integrated terminal for quick commands instead of switching windows
  6. Take advantage of the git features for a streamlined workflow, or LazyGit for the full service package

While I always keep the Unix philosophy in the back of my mind, of making tools that do one thing but do it well, I have to say, especially with Neovim, snacks is a killer addition that saves you a lot of time (and plugins) in one go.

Future updates promise even more integration with popular plugins and improved performance optimizations. The plugin has already gained significant traction in just a few months, and needless to say - folke, it's creator, already reponsible for many MANY great nvim creations (LazyVim is one great example). So snacks comes from a good home you can trust.

That's it for this week, thanks for reading, as always - feel free to reply directly with throughts!

Have a great weekend.

What Squish offers:

  • ✅ Increase test coverage and efficiency
  • ✅ Trusted by leading companies worldwide 
  • ✅ Full CI/CD compatibility for seamless integration
  • ✅ Free up your team's time for higher-value tasks

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

Postgres is not a database. For years, we’ve been taught to see Postgres as the reliable, open source workhorse for storing our data. Everyone called it "The Toyota of databases", you know... it just works. But to leave it at that is to miss the whole story.Postgres isn’t just a place to put your data, it’s a powerful development platform that can become the core of your entire backend, an operating system (yea, bold) for your application’s stack. Diving deep into its capabilities I learned...

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