From 2a7dcb87ad135c8a45a07ef38a5037858dfb3873 Mon Sep 17 00:00:00 2001 From: aleidk Date: Thu, 27 Apr 2023 12:29:48 -0400 Subject: [PATCH] update some config --- config/tmux/tmux.conf | 7 +++++-- config/zsh/config/options.zsh | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index dc97d1e..974cb26 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -1,5 +1,7 @@ ## Base Config -set -g default-terminal "screen-256color" + +set-option -sa terminal-overrides ",xterm*:Tc" +# set -g default-terminal "screen-256color" set -g mouse on set -g history-limit 100000 set -g base-index 1 # start windows in 1 @@ -9,7 +11,7 @@ unbind -T copy-mode-vi Space; #Default for begin-selection unbind -T copy-mode-vi Enter; #Default for copy-selection bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy" -set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' +# set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' set -sg escape-time 0 ## Keybindings @@ -57,6 +59,7 @@ set -g @plugin 'tmux-plugins/tmux-copycat'` set -g @plugin 'laktak/extrakto' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'sainnhe/tmux-fzf' +set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tpm' diff --git a/config/zsh/config/options.zsh b/config/zsh/config/options.zsh index 552a87a..2e6e02a 100644 --- a/config/zsh/config/options.zsh +++ b/config/zsh/config/options.zsh @@ -1,16 +1,16 @@ HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 -setopt BANG_HIST +# setopt BANG_HIST setopt EXTENDED_HISTORY # setopt HIST_EXPIRE_DUPS_FIRST # setopt HIST_IGNORE_DUPS # setopt HIST_FIND_NO_DUPS # setopt HIST_IGNORE_ALL_DUPS -setopt HIST_IGNORE_SPACE +# setopt HIST_IGNORE_SPACE # setopt HIST_SAVE_NO_DUPS -setopt HIST_VERIFY -setopt SHARE_HISTORY +# setopt HIST_VERIFY +# setopt SHARE_HISTORY # Navigation setopt AUTO_CD