fix tmux config

This commit is contained in:
vincent 2022-01-27 20:35:46 +01:00
parent a175b727e0
commit 197e9f5a08
2 changed files with 8 additions and 3 deletions

View File

@ -3,8 +3,8 @@
#+----------+ #+----------+
# Options # Options
set-option -g base-index 1 # Start windows numbering at 1 set-option -g base-index 1 # Start windows numbering at 3
set-option -g default-terminal "xterm-kitty" # Setting the correct term #set-option -g default-terminal "xterm-kitty" # Setting the correct term
set-option -g history-limit 30000 # Increase scrollback buffer size set-option -g history-limit 30000 # Increase scrollback buffer size
set-option -g mouse on # Turn mouse-mode on set-option -g mouse on # Turn mouse-mode on
set-option -g renumber-windows on # Renumber windows when a window is closed set-option -g renumber-windows on # Renumber windows when a window is closed
@ -31,6 +31,7 @@ set -g status-style "bg=black"
set -g status-left " #{session_name} " set -g status-left " #{session_name} "
set -g status-left-style "bg=cyan,fg=black" set -g status-left-style "bg=cyan,fg=black"
set-window-option -g pane-base-index 1
set-window-option -g window-status-separator "" set-window-option -g window-status-separator ""
set-window-option -g window-status-style "bg=terminal,fg=terminal" set-window-option -g window-status-style "bg=terminal,fg=terminal"
set-window-option -g window-status-current-style "bg=brightwhite,fg=black" set-window-option -g window-status-current-style "bg=brightwhite,fg=black"
@ -102,4 +103,4 @@ bind-key -n M-Q kill-pane
bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind-key -n M-R source-file ~/.config/tmux/tmux.conf\; display-message "Config reloaded" bind-key -n M-r source-file ~/.config/tmux/tmux.conf\; display-message "Config reloaded"

View File

@ -90,6 +90,10 @@ zstyle ':completion:*:descriptions' format '[%d]'
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
#tmux config path
ZSH_TMUX_CONFIG=$HOME/.config/tmux/tmux.conf
ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
if [[ ! -d $ZSH_CACHE_DIR ]]; then if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR mkdir $ZSH_CACHE_DIR