Skip to content

hoodietramp/tmux_config

 
 

Repository files navigation

This is my tmux config:

Features:

  1. Show VPN IP address in status bar when connected to VPN.
  2. Supports mouse functions. i.e. Mouse clicks can be used to switch splits, windows, sessions etc. Scrolling with mouse wheel activates copy mode and you can select using mouse cursor.

Update 24/01/2023:

  • Cleaned up a bit, it was a homemade noodle soup before, now it's like out of a restaurant noodle soup.
  • Updated colors a bit, finally added tmux plugins.
  • Removed the bashrc, as it was overwriting the user's bashrc.

Potential TODO:

  • I believe my color choices can be boring at times, so feel free to send a PR if you have a better color scheme.

Screenshots:

Default look with Tunnel and SSH scripts. Remove those if you think it's too messy.

Screenshot


Installation:

  • For clipboard to work, please install xclip as well.
sudo apt install xclip
git clone https://github.com/hoodietramp/tmux_config.git
cd tmux_config
cp tmux.conf ~/.tmux.conf
cp VPN.sh ~/vpnIP_VM.sh
chmod +x ~/vpnIP_VM.sh
  • To make the plugins work, you need to install tmux plugin manager.
  • To install tmux plugin manager, run the following command:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  • Then press prefix + I to install the plugins. .

Refer to tmux plugin manager for more information.


Updated Tmux and Vpn config Installation:

git clone https://github.com/hoodietramp/tmux_config.git
cd tmux_config
chmod +x install.sh; ./install.sh

-- OR

sudo apt install xclip.sh
git clone https://github.com/hoodietramp/tmux_config.git
cd tmux_config
cp h00dy_tmux.conf ~/.tmux.conf
mkdir ~/Scripts
cp vpnIP_VM ~/Scripts/
chmod +x ~/Scripts/vpnIP_VM.sh
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  • To install Tmux Plugins, Press Prefix+I in tmux.

Screenshot:

Screenshot


  • For some icons to properly display in tmux, you might make an alias to tmux:
alias tmux='tmux -u'

Don't forget to add this in your shell rc file.

  • If using arch, you can directly install icons-in-terminal
sudo pacman -Ss icons-in-terminal
  • If using debian based, you need to clone and install icons-in-terminal from this repo:
git clone https://github.com/sebastiencs/icons-in-terminal.git
cd icons-in-terminal
./install.sh

Start new terminal, and cd icons-in-terminal directory and do:

./print_icons.sh to verify successful installation

About

tmux og conf, thanks to holmes <3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%