summaryrefslogtreecommitdiffstats
path: root/.config/tmux
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-04 08:44:50 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-06 16:43:16 +0200
commit0bc002288b984d8ec8123c135456570c78a22da3 (patch)
tree020ed3f6a7f28a081687a3e46ea190e3aa724f7c /.config/tmux
downloaddotfiles-0bc002288b984d8ec8123c135456570c78a22da3.tar.gz
dotfiles-0bc002288b984d8ec8123c135456570c78a22da3.zip
feat: initial setup
- `dotfiles` (this project's CLI) - foot configuration - tmux configuration - bash configuration - nvim (as a git submodule) + configuration - ranger configuration - fzf configuration - KDE global shortcuts - Other miscellaneous dependencies
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
new file mode 100644
index 0000000..967f5c0
--- /dev/null
+++ b/.config/tmux/tmux.conf
@@ -0,0 +1,31 @@
+# tmux configuration file
+
+# See `man 1 tmux`
+# Ran when tmux's server start (not the client)
+# To reload: `source-file ~/.config/tmux/tmux.conf`
+
+set-option -g default-shell /usr/bin/bash
+set-option -g mode-keys vi
+set-option -g status-keys vi
+set-option -g mouse on
+set-option -g status-right-length 50
+set-option -g status-left-length 20
+
+bind-key -T root M-: command-prompt
+bind-key -T root M-M choose-tree
+
+bind-key -T root M-T new-window
+bind-key -T root M-N next-window
+bind-key -T root M-B previous-window
+bind-key -T root M-P last-window
+bind-key -T prefix < swap-window -d -t -1
+bind-key -T prefix > swap-window -d -t +1
+bind-key -T prefix r command-prompt -I "#W" { rename-window "%%" }
+bind-key -T prefix R command-prompt -I "#S" { rename-session "%%" }
+
+bind-key -T root M-H select-pane -L
+bind-key -T root M-J select-pane -D
+bind-key -T root M-K select-pane -U
+bind-key -T root M-L select-pane -R
+bind-key -T root M-S split-window
+bind-key -T root M-V split-window -h