Fix tmux-plugin-manager settings.
This commit is contained in:
parent
8532314a4f
commit
6501e6db77
42
020_tmux.sh
42
020_tmux.sh
|
|
@ -1,6 +1,6 @@
|
||||||
apt-get install -y tmux
|
apt-get install -y tmux
|
||||||
apt-get install -y tmux-plugin-manager
|
apt-get install -y tmux-plugin-manager
|
||||||
apt-get install -y tmuxinator
|
apt-get install -y tmuxp # uses python rather than ruby used by tmuxinator.
|
||||||
|
|
||||||
# https://github.com/Netherdrake/Dotfiles/tree/master/config/tmux
|
# https://github.com/Netherdrake/Dotfiles/tree/master/config/tmux
|
||||||
# wget -c --directory-prefix ~/.config/tmux/ https://raw.githubusercontent.com/Netherdrake/Dotfiles/master/config/tmux/default.sh
|
# wget -c --directory-prefix ~/.config/tmux/ https://raw.githubusercontent.com/Netherdrake/Dotfiles/master/config/tmux/default.sh
|
||||||
|
|
@ -172,9 +172,10 @@ EOF
|
||||||
mkdir -p ~/.zshrc.d/
|
mkdir -p ~/.zshrc.d/
|
||||||
echo "source /usr/share/zsh/vendor_completions/_tmuxinator" > ~/.zshrc.d/006_tmuxinator.zsh
|
echo "source /usr/share/zsh/vendor_completions/_tmuxinator" > ~/.zshrc.d/006_tmuxinator.zsh
|
||||||
|
|
||||||
|
mkdir -p ~/.tmux/plugins/tpm
|
||||||
|
|
||||||
|
#cat > ~/.config/tmux/tmux.conf << 'EOF'
|
||||||
cat > ~/.config/tmux/tmux.conf << 'EOF'
|
cat > ~/.tmux.conf << 'EOF'
|
||||||
|
|
||||||
# List of plugins
|
# List of plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
@ -189,3 +190,38 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '/usr/share/tmux-plugin-manager/tpm'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
#https://github.com/caiogondim/maglev
|
||||||
|
cat > ~/.config/tmux/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 repeat-time 0
|
||||||
|
|
||||||
|
# Removes ESC delay
|
||||||
|
set -sg escape-time 0
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
set -g @tpm_plugins ' \
|
||||||
|
caiogondim/maglev \
|
||||||
|
tmux-plugins/tpm \
|
||||||
|
tmux-plugins/tmux-sensible \
|
||||||
|
tmux-plugins/tmux-resurrect \
|
||||||
|
tmux-plugins/tmux-continuum \
|
||||||
|
tmux-plugins/tmux-yank \
|
||||||
|
tmux-plugins/tmux-pain-control \
|
||||||
|
tmux-plugins/tmux-copycat \
|
||||||
|
tmux-plugins/tmux-open \
|
||||||
|
tmux-plugins/tmux-battery \
|
||||||
|
tmux-plugins/tmux-cpu \
|
||||||
|
tmux-plugins/tmux-prefix-highlight \
|
||||||
|
'
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager
|
||||||
|
#run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue