summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2025-10-24 16:46:26 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2025-10-24 16:46:26 +0200
commit5d25789212b2c501a1f7e4b39a9195caa7cdfa4d (patch)
treee03ce13f9a8e100cb6e65c6e28694cc8ba13282a /tmux
parent978d7de684eb29dc28483d2220933b81116157c1 (diff)
add new pane config for tmux
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index a983bbc..3f2a585 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -1,3 +1,4 @@
+# quickly apply config changes: <prefix>r
unbind r
bind r source-file ~/.config/tmux/tmux.conf
@@ -17,5 +18,10 @@ bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
+# highlight current window in status bar
set-window-option -g window-status-current-style 'bg=brightwhite'
set-window-option -g window-status-current-format ' #I:#W '
+
+# open pane splits at the same path as current pane
+bind '"' split-window -v -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"