aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-04-24 02:35:01 +0100
committerdx <aryadevchavali1@gmail.com>2020-04-24 02:35:01 +0100
commit094087893a66b250da1c97608c31c6b521c90153 (patch)
tree00f618274d6c765b65d3495e51cd8dc963e5b795 /tmux
parentee1220ccfb1e77e07f4c80121c1b383630025f74 (diff)
downloaddotfiles-094087893a66b250da1c97608c31c6b521c90153.tar.gz
dotfiles-094087893a66b250da1c97608c31c6b521c90153.tar.bz2
dotfiles-094087893a66b250da1c97608c31c6b521c90153.zip
~Moved all files to respective folders for gnu stow
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..78507c4
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,27 @@
+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 -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"
+bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
+
+
+# List of plugins
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'jimeh/tmux-themepack'
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+set -g @plugin 'tmux-plugins/tmux-battery'
+set -g @plugin 'tmux-plugins/tmux-online-status'
+set -g @plugin 'tmux-plugins/tmux-sidebar'
+
+# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
+run -b '~/.tmux/plugins/tpm/tpm'