set-option -g default-terminal "tmux-256color" set-option -g default-shell /bin/bash 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 # Create new panes or windows with the current working directory bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"