From 687436d1d84da4492abe7137b2339d61e8651de7 Mon Sep 17 00:00:00 2001 From: AChavali Date: Sun, 9 Feb 2020 18:26:33 +0000 Subject: ~setup some stuff on tmux Now finally reusing tmux because I've switched to alacritty and it doesn't have windows lol. --- tmux.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index 66e707f..04cf0a3 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,9 +1,13 @@ set -g base-index 1 set -g default-shell /usr/bin/zsh set -g default-command /usr/bin/zsh + set-option -g prefix C-a set-window-option -g mode-keys vi -set -g @themepack 'powerline/block/blue' + +set -goq @themepack-status-right-area-right-format "localhost" +set -g @themepack 'powerline/double/blue' + bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" @@ -11,7 +15,6 @@ bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq v bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l" - # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -- cgit v1.2.3-13-gbd6f