I’m Never Using Tmux the Same Again


Hi friends,

Tmux is a fantastic tool for managing terminal sessions, but it has its limitations. One major drawback is the lack of a floating pane feature, which can make navigating between different panes cumbersome and inefficient.

Most users workaround this by creating new Tmux windows or panes, or by using hidden splits to zoom in and out. These methods work but can be inefficient and require many keystrokes, disrupting workflow and focus.

Conventional options often feel clunky and time-consuming. Switching between multiple panes or windows, and constantly zooming in and out, can break concentration and slow down productivity. It makes the user feel like they are constantly leaving their context to check logs or run additional processes.

I built a new plugin called tmux-floax to address this issue specifically!

This plugin introduces a floating pane over Tmux, providing a seamless way to manage additional tasks without leaving the current context.

Key Features of floax:

  • Distinct Style and Customization: The floating pane has a unique style and colors that are fully configurable, making it easy to differentiate from the main working environment.
  • Persistent Shell: Unlike standard Tmux popups, Floax maintains a persistent shell using its own Tmux session, allowing you to hide and bring back the pane as needed without losing your history (unlike a standard tmux-popup).
  • Ease of Use: The plugin minimizes keystrokes. For example, to switch between code and logs, you simply pop the pane, no need to zoom in and out multiple times.
  • Full Integration with any workflow: Being Tmux session on its own, you can split the floating pane vertically or horizontally, resize panes within it, and even go full screen with simple key bindings.
  • Customizable Layout Options: Quickly adjust the size and layout of the floating pane with convenient keyboard shortcuts.

Getting the plugin:

  1. Add omerxx/tmux-floax to your Tmux config using TPM (Tmux Plugin Manager).
  2. Source the configuration file and Run Ctrl-I for TPM to install new plugins

Check out tmux-floax on GitHub, give it a star if you like it, and feel free to open issues for any improvements or bugs you find.

I’d be thrilled to hear feeback of any kind!

Happy Tmuxing!

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

Kubernetes - Does It Live Up to the Hype? Twelve years ago, I landed my first DevOps role. I was a junior engineer, responsible for infrastructure and security at a startup (yeah, not the best call on their behalf), that would later become a unicorn. One evening, our CEO landed the first huge client, and we had 24 hours to prepare. I panicked. I spun up extra servers, scaled out load balancers, and froze every scale-down rule I could find to make sure we overkill this and that I'm not the...

Neovim from Scratch to BEAST Mode It took me 12 months to make Neovim look like a worthy code editor. This was 9 years ago. Today, with one small installation you get fuzzy pickers, LSPs, text objects, debuggers and MORE. Honestly, if you have the Vim basics and would like a quickstart Neovim pre-baked with everything you need, there's almost no need to make an effort, thanks to distributions like LazyVim. The traditional approach to Neovim setup has always been a rite of passage - slowly...

7 Amazing API Tools You Need To Try Before becoming a systems architect working with unicorns, I made a mistake that cost my team three days of debugging. I hardly left the office for 48 hours, and that experience taught me a valuable lesson. I thought I knew everything about HTTP requests. Having used curl for years, writing APIs, and building integrations, I felt confident. Then came the incident Our back-office application was failing, and we couldn’t help with burning customer requests. I...