2024-09-12 16:35:06 +01:00
|
|
|
#set-option -g default-terminal "tmux-256color"
|
2024-06-04 12:33:30 +01:00
|
|
|
set-option -g default-terminal "$TERM"
|
|
|
|
set-option -ag terminal-overrides ",$TERM:Tc"
|
2024-09-12 16:35:06 +01:00
|
|
|
# set-option -g default-shell /usr/bin/env bash
|
|
|
|
set-option -g default-command "/usr/bin/env bash"
|
2022-04-18 00:14:34 +01:00
|
|
|
set-option -g mouse off
|
|
|
|
|
|
|
|
set-window-option -g status-keys vi
|
|
|
|
set-option -g mode-keys vi
|
|
|
|
|
|
|
|
set-option -g pane-active-border-style "fg=colour234"
|
|
|
|
set-option -g pane-border-style "fg=colour234"
|
|
|
|
|
|
|
|
set-option -g status-style "bg=colour234"
|
|
|
|
set-option -ag status-style "fg=colour255"
|
|
|
|
|
|
|
|
set-option -g status-left-length 32
|
|
|
|
set-window-option -g status-left "#[bg=colour55,fg=colour255,bold] #S "
|
|
|
|
|
|
|
|
set-option -g status-right-length 32
|
|
|
|
set-window-option -g status-right "#[bg=colour237,fg=colour255] %d.%m.%Y %H:%M "
|
|
|
|
|
|
|
|
set-option -g window-status-format " #I: #W "
|
|
|
|
set-option -g window-status-current-format "#[fg=colour255,bg=colour25,bold] #I: #W "
|
|
|
|
set-option -g window-status-separator "|"
|
|
|
|
|
|
|
|
# Navigate through panes using vim movement keys
|
|
|
|
bind h select-pane -L
|
|
|
|
bind j select-pane -D
|
|
|
|
bind k select-pane -U
|
|
|
|
bind l select-pane -R
|
|
|
|
|
|
|
|
# Reduce the escape timeout for neovim
|
|
|
|
set -sg escape-time 10
|
|
|
|
|
|
|
|
# Enable focus events for the autoread feature in neovim
|
|
|
|
set-option -g focus-events on
|
|
|
|
|
2024-06-04 12:33:30 +01:00
|
|
|
# Create new spilts or windows with the current working directory
|
2022-04-18 00:14:34 +01:00
|
|
|
bind '"' split-window -c "#{pane_current_path}"
|
|
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
|
|
bind c new-window -c "#{pane_current_path}"
|