summaryrefslogtreecommitdiff
path: root/openbsd/blowfish.buetow.org
diff options
context:
space:
mode:
authorPaul Buetow <openbsd@mx.buetow.org>2021-12-29 22:15:17 +0100
committerPaul Buetow <openbsd@mx.buetow.org>2021-12-29 22:15:17 +0100
commitf840b6d4dc8354e505f8e79c44d0d2114efe5918 (patch)
treed2ac3a3bca93a513029cdbabd893b6b11ad6f6f1 /openbsd/blowfish.buetow.org
parent269eda6c3868af0cc2809ac8bbd05bcf404c0787 (diff)
add tmux config
Diffstat (limited to 'openbsd/blowfish.buetow.org')
-rw-r--r--openbsd/blowfish.buetow.org/etc/tmux.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/openbsd/blowfish.buetow.org/etc/tmux.conf b/openbsd/blowfish.buetow.org/etc/tmux.conf
new file mode 100644
index 0000000..555e4b8
--- /dev/null
+++ b/openbsd/blowfish.buetow.org/etc/tmux.conf
@@ -0,0 +1,25 @@
+set-option -g allow-rename off
+set-option -g default-terminal "screen-256color"
+set-option -g history-limit 100000
+set-option -g status-bg '#444444'
+set-option -g status-fg '#ffa500'
+
+set-window-option -g mode-keys vi
+
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
+
+bind-key H resize-pane -L 5
+bind-key J resize-pane -D 5
+bind-key K resize-pane -U 5
+bind-key L resize-pane -R 5
+
+bind-key b break-pane -d
+bind-key c new-window -c '#{pane_current_path}'
+bind-key F new-window -n "session-switcher" "tmux list-sessions | fzf | cut -d: -f1 | xargs tmux switch-client -t"
+bind-key p setw synchronize-panes off
+bind-key P setw synchronize-panes on
+bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
+bind-key T choose-tree