summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 0000000..1ed550d
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,31 @@
+# Change the prefix key to Ctrl-Space
+set -g prefix C-Space
+unbind C-b
+bind C-Space send-prefix
+
+# Toggle the status line with prefix + Space
+bind Space set -g status
+
+# Split the window horizontally with prefix + |
+# Split the window vertically with prefix + -
+unbind \%
+unbind \"
+bind | split-window -h
+bind - split-window -v
+
+# Navigate panes with prefix + hjkl
+unbind l
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# Start window and pane numbering from 1 instead of 0
+set -g base-index 1
+set -g pane-base-index 1
+
+# Show the clock on the right side of the status line
+set -g status-right '%H:%M'
+
+# Use the terminal's default foreground and background colors
+set -g status-style fg=default,bg=default