diff --git a/020_tmux.sh b/020_tmux.sh index 59f4f3c..c78e952 100644 --- a/020_tmux.sh +++ b/020_tmux.sh @@ -76,15 +76,15 @@ EOF # wget -c --directory-prefix ~/.config/tmux/ https://raw.githubusercontent.com/Netherdrake/Dotfiles/master/config/tmux/tmux.conf cat > ~/.config/tmux/tmux.conf << 'EOF' -# set-option -g default-shell /bin/fish -set-option -g default-shell "/usr/bin/fish" # https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard set-option -g status on set-option -g status-interval 2 # set-option -g status-utf8 on set-option -g status-left-length 60 set-option -g status-right-length 60 -set-option -g default-terminal xterm-256color +set-option -g default-terminal "tmux-256color" +# set-option -g default-shell /bin/fish +# set-option -g default-shell "/usr/bin/fish" setw -g mode-keys vi bind h select-pane -L @@ -193,13 +193,19 @@ EOF #https://github.com/caiogondim/maglev -cat > ~/.config/tmux/tmux.conf << 'EOF' +#cat > ~/.config/tmux/tmux.conf << 'EOF' +cat > ~/.tmux.conf << 'EOF' + # Start windows and panes at 1, not 0 set -g base-index 1 set -g pane-base-index 1 set-option -g status-position top +set-option -g default-terminal "tmux-256color" + +set-window-option -g mode-keys vi + set-option -g repeat-time 0 # Removes ESC delay @@ -225,3 +231,5 @@ set -g @tpm_plugins ' \ #run '~/.tmux/plugins/tpm/tpm' run '/usr/share/tmux-plugin-manager/tpm' EOF + +bash -c "/usr/share/tmux-plugin-manager/bin/install_plugins"