summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf19
1 files changed, 2 insertions, 17 deletions
diff --git a/tmux.conf b/tmux.conf
index 227c9cd..5096b4c 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -1,7 +1,5 @@
-# set -g default-terminal "screen-256color"
-set -g default-terminal screen
-if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color'
-
+set -g default-terminal xterm-256color
+set -g status off
set -g mouse on
unbind C-b
@@ -14,17 +12,6 @@ bind r source-file ~/.tmux.conf
set -s escape-time 0
set-option -g allow-rename off
-set -g @tpm_plugins ' \
- tmux-plugins/tpm \
- tmux-plugins/tmux-sensible \
- tmux-plugins/tmux-resurrect \
-'
-
-set -g @resurrect-strategy-vim 'session'
-set -g @resurrect-save 'S'
-set -g @resurrect-restore 'R'
-set -g status off
-
is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"'
bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
@@ -36,5 +23,3 @@ bind C-p previous-window
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
-
-run-shell '~/.tmux/plugins/tpm/tpm'