about summary refs log tree commit diff
path: root/config/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/tmux/tmux.conf')
-rw-r--r--config/tmux/tmux.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf
new file mode 100644
index 0000000..e87d8aa
--- /dev/null
+++ b/config/tmux/tmux.conf
@@ -0,0 +1,66 @@
+set -a terminal-features "screen-256color:RGB"
+set -ga terminal-overrides ",*col*:Tc"
+set -g allow-passthrough all
+set -ga update-environment TERM
+set -ga update-environment TERM_PROGRAM
+set -g prefix C-SPACE
+set -g default-shell "~/.nix-profile/bin/zsh"
+
+set -g base-index 1
+setw -g pane-base-index 1
+set -g renumber-windows on
+
+set -g status-position top
+set -g status-justify right
+set -g status-style "bg=default"
+set -g window-status-current-style "fg=#b4befe bold"
+set -g message-style "bg=default fg=#b4befe bold"
+set -g status-right ""
+set -g status-left-length 40
+set -g status-left "#S   "
+
+set -g mouse on
+
+set-option -g set-titles on
+set-option -g set-titles-string "#T"
+
+set -g visual-activity off
+set -g visual-bell off
+set -g visual-silence off
+setw -g monitor-activity off
+set -g bell-action none
+
+setw -g mode-style 'fg=#000000 bg=#cdd6f4 bold'
+
+set -g window-style 'bg=#151515'
+set -g window-active-style 'bg=#000000'
+
+set -g pane-border-style 'fg=#a6adc8'
+set -g pane-active-border-style 'fg=#b4befe'
+
+bind s split-window -h -c "#{pane_current_path}"
+bind v split-window -v -c "#{pane_current_path}"
+unbind '"'
+unbind %
+
+bind-key Tab next-window
+bind-key k confirm-before -p "kill window #W? (y/n)" kill-window
+bind-key c new-window
+
+bind-key t display-popup
+
+bind-key h select-pane -L
+bind-key i select-pane -R
+bind-key e select-pane -U
+bind-key n select-pane -D
+
+bind -n M-Left select-pane -L
+bind -n M-Right select-pane -R
+bind -n M-Up select-pane -U
+bind -n M-Down select-pane -D
+
+bind r source-file "~/.config/tmux/tmux.conf" \; display-message "Config reloaded"
+bind b set -g status
+bind g neww -n "lazygit" lazygit
+bind y new-window -n "yazi" yazi
+bind E show-environment -g