summaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-12-23 21:20:52 +0100
committeryuzu-eva <stevenhu@web.de>2022-12-23 21:20:52 +0100
commitee92c6100fd18a80309bcaa86d1cbc20f8f2cd49 (patch)
tree3772ecdd57e3fcd4fd6eddc7b18230348ce5d4f3 /.config/tmux/tmux.conf
parent2c7324c964f597080c0589a31f6164b484d7a1f2 (diff)
added a bunch of stuff and relocated some files
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
new file mode 100644
index 0000000..1db3b54
--- /dev/null
+++ b/.config/tmux/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 30000
+
+## 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}'