summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2022-12-11 14:03:17 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2022-12-11 14:03:17 +0530
commit006bd9dfc3fbbf05dbdfac2f118a6ad9ccce1aa5 (patch)
tree5832b4638ff1a56787b4be42f20493ea61a21aeb
parentd23354ef86540c9cd499b2ae268b68bf77f857f4 (diff)
add tmux conf
Diffstat (limited to '')
-rw-r--r--.tmux.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 0000000..14d149f
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,33 @@
+set -s escape-time 0
+set -g history-limit 50000
+set -g display-time 4000
+set -g status-interval 5
+set -g default-terminal "screen-256color"
+set -g focus-events on
+
+set -g @plugin 'o0th/tmux-nova'
+
+bind R source-file '/home/compromyse/.tmux.conf'
+
+unbind C-b
+set-option -g prefix C-x
+bind-key C-x send-prefix
+
+bind | split-window -h
+bind - split-window -v
+unbind '"'
+unbind %
+
+set -g mouse on
+set-option -s set-clipboard off
+bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
+
+bind-key r command-prompt -I "#W" "rename-window '%%'"
+
+bind-key b attach-session -c "#{pane_current_path}"
+
+bind-key x kill-pane
+
+set -g @nova-rows 0
+
+run '~/.tmux/plugins/tpm/tpm' \ No newline at end of file