Browse Source

tmux conf

master
Juni Kim 2 years ago
parent
commit
53046c3f3c
  1. 17
      dots/tmux.conf
  2. 2
      dots/zshrc
  3. 6
      install_alpine.sh
  4. 5
      install_fedora.sh
  5. 5
      install_ubuntu.sh

17
dots/tmux.conf

@ -3,6 +3,23 @@ set-option -g default-terminal "screen-256color"
set -s escape-time 0
set-option -g status-style fg=white,bg=black
set-window-option -g mode-keys vi
unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind r source-file ~/.tmux.conf
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'odedlaz/tmux-onedark-theme'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

2
dots/zshrc

@ -8,7 +8,7 @@ export ZSH="$HOME/.oh-my-zsh"
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="edvardm"
ZSH_THEME="agnoster"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load

6
install_alpine.sh

@ -77,6 +77,12 @@ user_setup() {
fi
cp "$DIR/dots/zshrc" "$HOME/.zshrc"
cp "$DIR/dots/tmux.conf" "$HOME/.tmux.conf"
# install tpm and plugins
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm || exit 1
tmux start \; \
new -d \; \
run "$HOME/.tmux/plugins/tpm/scripts/install_plugins.sh" \; \
kill-session || exit 1
mkdir -p "$HOME/.local/bin" || exit 1
cp -r "$DIR/scripts/." "$HOME/.local/bin/" || exit 1
}

5
install_fedora.sh

@ -63,6 +63,11 @@ dotfiles() {
fi
cp "$DIR/dots/zshrc" "$HOME/.zshrc"
cp "$DIR/dots/tmux.conf" "$HOME/.tmux.conf"
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm || exit 1
tmux start \; \
new -d \; \
run "$HOME/.tmux/plugins/tpm/scripts/install_plugins.sh" \; \
kill-session || exit 1
mkdir -p "$HOME/.local/bin" || exit 1
cp -r "$DIR/scripts/." "$HOME/.local/bin/" || exit 1
}

5
install_ubuntu.sh

@ -96,6 +96,11 @@ dotfiles() {
fi
cp "$DIR/dots/zshrc" "$HOME/.zshrc"
cp "$DIR/dots/tmux.conf" "$HOME/.tmux.conf"
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm || exit 1
tmux start \; \
new -d \; \
run "$HOME/.tmux/plugins/tpm/scripts/install_plugins.sh" \; \
kill-session || exit 1
mkdir -p "$HOME/.local/bin" || exit 1
cp -r "$DIR/scripts/." "$HOME/.local/bin/" || exit 1
}

Loading…
Cancel
Save