aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-09 18:26:33 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-09 18:27:10 +0000
commit687436d1d84da4492abe7137b2339d61e8651de7 (patch)
tree8e6798a63a5450e6bc3834e2d5b58225fa13d272 /tmux.conf
parent2728101a75c50186fe1cc5d012b061c1fc35ffd0 (diff)
downloaddotfiles-687436d1d84da4492abe7137b2339d61e8651de7.tar.gz
dotfiles-687436d1d84da4492abe7137b2339d61e8651de7.tar.bz2
dotfiles-687436d1d84da4492abe7137b2339d61e8651de7.zip
~setup some stuff on tmux
Now finally reusing tmux because I've switched to alacritty and it doesn't have windows lol.
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf7
1 files 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'