diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..6410710 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,12 @@ +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +set -g mouse on + +bind r source-file ~/.tmux.conf + +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D diff --git a/setup.sh b/setup.sh index a514ef4..46f3c32 100755 --- a/setup.sh +++ b/setup.sh @@ -20,3 +20,10 @@ if [ -f ~/.vimrc ]; then rm ~/.vimrc fi ln -s ~/dotfiles/.vimrc ~/.vimrc + +echo "linking .tmux.conf" +if [ -f ~/.tmux.conf ]; then + echo ".tmux.conf exists removing" + rm ~/.tmux.conf +fi +ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf \ No newline at end of file