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

I Just Unlocked MacOS GOD MODE With Hammerspoon Ever felt like your Mac is an overprotective parent, constantly limiting what you can do? Can't open any downloaded app, can't control your own notifications, can't do anything that isn't strictly within the boundaries dictated by Apple... I just discovered a power tool that hands you the keys to the kingdom – Hammerspoon, a decade-old but criminally underrated Mac automation tool that lets you bend macOS to your will with simple Lua scripting....

Why I'm Ditching Nix Home ManagerAnd What I'm Using Instead 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. Take a tour to see Squish for yourself! For the longest time, my dotfiles felt like a junk drawer: essential, but keeping them in order is a constant battle. Like many developers, I've been...

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. Take a tour to see Squish for yourself! 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,...