Fix tmux.conf location and add vi mode.
This commit is contained in:
parent
8878b8eab2
commit
05f1138e71
16
020_tmux.sh
16
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
|
# wget -c --directory-prefix ~/.config/tmux/ https://raw.githubusercontent.com/Netherdrake/Dotfiles/master/config/tmux/tmux.conf
|
||||||
|
|
||||||
cat > ~/.config/tmux/tmux.conf << 'EOF'
|
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
|
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
||||||
set-option -g status on
|
set-option -g status on
|
||||||
set-option -g status-interval 2
|
set-option -g status-interval 2
|
||||||
# set-option -g status-utf8 on
|
# set-option -g status-utf8 on
|
||||||
set-option -g status-left-length 60
|
set-option -g status-left-length 60
|
||||||
set-option -g status-right-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
|
setw -g mode-keys vi
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
|
|
@ -193,13 +193,19 @@ EOF
|
||||||
|
|
||||||
|
|
||||||
#https://github.com/caiogondim/maglev
|
#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
|
# Start windows and panes at 1, not 0
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
|
||||||
set-option -g status-position top
|
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
|
set-option -g repeat-time 0
|
||||||
|
|
||||||
# Removes ESC delay
|
# Removes ESC delay
|
||||||
|
|
@ -225,3 +231,5 @@ set -g @tpm_plugins ' \
|
||||||
#run '~/.tmux/plugins/tpm/tpm'
|
#run '~/.tmux/plugins/tpm/tpm'
|
||||||
run '/usr/share/tmux-plugin-manager/tpm'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
bash -c "/usr/share/tmux-plugin-manager/bin/install_plugins"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue