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!

Whenever you’re ready, here’s how I can help you:

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

Hi friends, Are you tired of juggling multiple apps for note-taking and writing? Many of us struggle to find a seamless system that combines powerful text editing with effective note organization. While popular note-taking apps offer fancy features, they often fall short for those who prefer a keyboard-centric, or should I say Vim-centric workflow. Most people resort to using dedicated note-taking applications like Obsidian, Notion, or even Apple notes. These tools are great for casual users,...

Hi friends, The Dotfiles Dilemma Ever felt like your computer settings are scattered everywhere? Those pesky dotfiles that control how your programs look and work can be a real headache to manage. The Old Way: Git and Stow Many of us have tried using Git to track changes in our dotfiles. Some even use Stow to create symlinks. But let's be honest – it's not always smooth sailing. Sometimes things don't line up right, and not every program plays nice with this setup. Why Traditional Methods...

Hey friends! Are you tired of juggling countless environment variables across different projects? Do you find yourself constantly tweaking your .zshrc or .bashrc with tokens, api keys or other project-specific variables? Well, I’ve got a game-changer for you! The Problem with Traditional .env Files We’ve all been there. You start a new project, set up a few environment variables in a .env file, and everything’s peachy. But as your project grows, so does your list of variables. Before you know...