about summary refs log tree commit diff
path: root/tmux/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux.conf')
-rw-r--r--tmux/.tmux.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..5253f5d
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,66 @@
+set -g default-terminal "screen-256color"
+
+set -g history-limit 10000
+
+set -g display-time 36000000
+set -g escape-time 0
+
+set -g base-index 1
+set -g pane-base-index 1
+
+set -g set-titles on
+
+set -g automatic-rename on
+
+set -g renumber-windows on
+
+set -g monitor-activity on
+set -g visual-activity off
+
+set -g status-justify left
+set -g status-position top
+
+set -g status-left ""
+set -g status-right ""
+
+set -g detach-on-destroy off
+
+set -g status-keys emacs
+set -g mode-keys   vi
+
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+bind F1 select-pane -t 1
+bind F2 select-pane -t 2
+bind F3 select-pane -t 3
+bind F4 select-pane -t 4
+bind F5 select-pane -t 5
+bind F6 select-pane -t 6
+bind F7 select-pane -t 7
+bind F8 select-pane -t 8
+bind F9 select-pane -t 9
+
+bind -r H resize-pane -L 10
+bind -r J resize-pane -D 10
+bind -r K resize-pane -U 10
+bind -r L resize-pane -R 10
+
+bind _ split-window -v
+bind | split-window -h
+
+bind -n M-F1 select-window -t 1
+bind -n M-F2 select-window -t 2
+bind -n M-F3 select-window -t 3
+bind -n M-F4 select-window -t 4
+bind -n M-F5 select-window -t 5
+bind -n M-F6 select-window -t 6
+bind -n M-F7 select-window -t 7
+bind -n M-F8 select-window -t 8
+bind -n M-F9 select-window -t 9
+
+bind Tab last-window
+
+bind c new-window -c "#{pane_current_path}"

Consider giving Nix/NixOS a try! <3