summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorEva <cafebabe@makai>2022-12-08 21:27:31 +0100
committerEva <cafebabe@makai>2022-12-08 21:27:31 +0100
commitecb8af627ae0a844c8f17c57281200683c1f14ab (patch)
tree5d6b2a1c019d98fa8572c947e0e6743eb781c9b1 /.tmux.conf
parent5fb6e0e59c1ab114c093dd54bcc521c51a8a6eed (diff)
reversed accidental move of file
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 0000000..686ce8d
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,41 @@
+# Status-bar settings
+set -g status-right "%H:%M"
+set -g window-status-current-style "underscore"
+set -g message-command-style 'fg=#000000,bg=#FFFF00'
+set -g message-style 'fg=#000000, bg=#FFFF00'
+set -g status-bg '#333333'
+set -g status-fg '#FFFFFF'
+set -g set-titles on
+set -g set-titles-string "#T"
+
+# Enable RGB colour if running in xterm(1)
+set-option -sa terminal-overrides ",xterm*:Tc"
+
+# Change the default $TERM to tmux-256color
+set -g default-terminal "tmux-256color"
+
+# Set history-limit
+set -g history-limit 10000
+
+## KEYBINDS
+
+# Change the prefix key to C-a
+set -g prefix C-a
+unbind C-b
+bind C-a send-prefix
+
+bind C-v split-window -v # split vertically
+bind C-h split-window -h # split horizontally
+bind C-w killp # kill pane
+bind C-q killw # kill window
+bind -n M-h select-pane -L
+bind -n M-l select-pane -R
+bind -n M-k select-pane -U
+bind -n M-j select-pane -D
+
+# Turn the mouse on, but without copy mode dragging
+set -g mouse off
+
+# Keys to toggle monitoring activity in a window and the synchronize-panes option
+bind m set monitor-activity
+bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'