Oh My Tmux
Some Config and Plugin for Easing my operation
-
Clone this Repo. to a path you like, such as
HOMEor 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.confto$HOMEpathln -s $PWD/oh-my-tmux/tmux.conf ~/.tmux.conf
When you execute
echo $PWDin shell, you will know what the$PWDmeans. 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
Tmuxtmux -
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)"
