summaryrefslogtreecommitdiff
path: root/cfg/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cfg/tmux/tmux.conf')
-rwxr-xr-xcfg/tmux/tmux.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/cfg/tmux/tmux.conf b/cfg/tmux/tmux.conf
new file mode 100755
index 0000000..68bf40e
--- /dev/null
+++ b/cfg/tmux/tmux.conf
@@ -0,0 +1,30 @@
+
+# Change the prefix key to C-a.
+unbind C-b
+set-option -g prefix C-a
+bind-key C-a send-prefix
+
+bind A split-window -h # Split horizontally.
+bind a split-window -v # Split vertically.
+
+# C-a r: reload the config file.
+bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf
+
+# Alt hjkl: switch panes.
+bind -n A-Left select-pane -L
+bind -n A-Right select-pane -R
+bind -n A-Up select-pane -U
+bind -n A-Down select-pane -D
+
+# Don't rename windows automatically: normally rename using ,
+set-option -g allow-rename off
+
+### Theming ###
+set -g status-position bottom
+set -g status-justify left
+set -g status-style 'fg=colour1'
+set -g status-left ''
+set -g status-right '%Y-%m-%d %H:%M '
+set -g status-right-length 50
+set -g status-left-length 10
+