Skip to content

This is my Tmux Config - used to increase add aditional panes and additional use to my Neovim workflow.

Notifications You must be signed in to change notification settings

shadielfares/tmux-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tmux Config 🎛️

Welcome to my Tmux configuration repository! This setup is designed to enhance the functionality of Tmux, particularly in conjunction with Neovim, by allowing for additional panes and improved workflow integration.

Features ✨

  • Custom Tmux configuration tailored for Neovim users
  • Efficient pane management
  • Enhanced productivity with streamlined shortcuts

Text Copying Issues 📋

When working with terminal multiplexers like tmux, especially in conjunction with Neovim, copying text can be challenging. This is a common problem that many users encounter when trying to copy text from tmux panes to the system clipboard.

For a detailed explanation of this issue, see nvim-config issue #3 which describes the copying problem in detail.

Solution: tmux-yank Plugin

To solve this copying issue, we recommend installing the tmux-yank plugin. This plugin enables copying to the system clipboard from tmux copy mode.

Best Works with iTerm2

Just download it and thank me later, also you'll want to setup this for word deletion in TMUX: video

Or you could just do this, go in iTerm2:

Profiles > Keys > Key Bindings

Add, set it to Option + Delete, the action will be Send Hex Code, should push up 0x1B 0x08.

Additionally to move over a space you'll want to

Must Configure these shortcuts in iTerm2:

Screenshot 2025-07-20 at 2 47 26 PM

Installation:

  1. Add the plugin to your tmux.conf:
    set -g @plugin 'tmux-plugins/tmux-yank'
    
  2. Reload tmux configuration and install the plugin using <Prefix> + I

Usage:

  • Enter copy mode with <Prefix> + [
  • Select text with v (visual mode) or use mouse selection
  • Copy to clipboard with y (copies to system clipboard)

For a visual demonstration of tmux copying techniques, check out this helpful video: https://vimeo.com/102039099

Prerequisites 📋

  • Ensure you have Tmux installed on your system. You can install it using your package manager, for example:
    sudo apt-get install tmux

Installation 🛠️

  1. Install Tmux Package Manager (TPM):
    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
    
  2. Clone this repository:
    git clone https://github.com/shadielfares/tmux-config.git ~/.config/tmux/
  3. Reload the Tmux configuration:
    tmux source ~/.config/tmux/tmux.conf
  4. Download the newly added packages, using the command (Note: You must be currently editing the tmux.conf file in tmux):
    CTRL+B, SHIFT+i
    

Usage 🚀

  • Pane Management: Easily split windows into multiple panes for a more organized workflow.
  • Custom Key Bindings: Utilize custom shortcuts to quickly navigate and manage panes.
  • Manual Plugin Installation: Use <Prefix> + I while in Tmux to manually install plugins.

Contributing 🤝

Contributions are welcome! Please fork this repository and open a pull request with your improvements.

Enjoy an enhanced Tmux experience!

About

This is my Tmux Config - used to increase add aditional panes and additional use to my Neovim workflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages