Oh My Tmux
Some Config and Plugin for Easing my operation
-
Clone this Repo. to a path you like, such as
HOME
or anywhere you want:git clone https://github.com/hoseahsu/oh-my-tmux.git ~/oh-my-tmux
-
Change the directory you just cloned(maybe
cd ~/oh-my-tmux
), and create symbolic link.tmux.conf
to$HOME
pathln -s $PWD/oh-my-tmux/tmux.conf ~/.tmux.conf
When you execute
echo $PWD
in shell, you will know what the$PWD
means. Yes, it means the path of current directory you stayed.
-
Install Tmux Plugin Manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
-
Startup
Tmux
tmux
-
Reload Tmux config
tmux source ~/.tmux.conf
-
Install & Update Tmux plugins via TPM
Ctrl+b + I # waiting for installed... Ctrl+b + U # waiting for updating... Ctrl+b + r # let Tmux config work
or just use below shell after you backup your old tmux.conf
sh -c "$(curl -fSL https://raw.githubusercontent.com/hoseahsu/oh-my-tmux/master/install.sh)"