diff options
-rw-r--r-- | sh/.config/profile.d/30-fzf.sh | 4 | ||||
-rw-r--r-- | tmux/.config/tmux/tmux.conf | 47 |
2 files changed, 26 insertions, 25 deletions
diff --git a/sh/.config/profile.d/30-fzf.sh b/sh/.config/profile.d/30-fzf.sh index d9e89cb..9e01fb4 100644 --- a/sh/.config/profile.d/30-fzf.sh +++ b/sh/.config/profile.d/30-fzf.sh @@ -12,6 +12,4 @@ export FZF_DEFAULT_OPTS='--bind ctrl-q:abort --bind ctrl-b:preview-page-up --bind ctrl-f:preview-page-down --bind alt-up:half-page-up ---bind alt-down:half-page-down ---color fg:#ebdbb2,hl:#fabd2f,fg+:#ebdbb2,hl+:#fabd2f ---color info:#83a598,prompt:#bdae93,spinner:#fabd2f,pointer:#83a598,marker:#fe8019,header:#665c54' +--bind alt-down:half-page-down' diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index f6444b7..acf60d0 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -1,18 +1,24 @@ -set -g default-terminal 'tmux-256color' +set-option -g default-terminal 'tmux-256color' -set -ga terminal-overrides ',*:Tc' -set -ga terminal-overrides ',*:RGB' -set -ga terminal-overrides ',*:Smulx=\E[4::%p1%dm' -set -ga terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' +set-option -ga terminal-features ',*:hyperlinks' +set-option -ga terminal-features ',*:RGB' +set-option -ga terminal-features ',*:usstyle' +set-option -ga terminal-features ',*:strikethrough' -set -g escape-time 50 -set -g mouse on -set -g prefix C-a +set-option -g escape-time 50 +set-option -g mouse on +set-option -g prefix C-a -set -g base-index 1 -set -g pane-base-index 1 -set -g detach-on-destroy off -set -g status-keys vi +set-option -g base-index 1 +set-option -g pane-base-index 1 +set-option -g detach-on-destroy off +set-option -g status-keys vi +set-option -g status-interval 1 + +set-option -g status-left "#{session_path} " +set-option -g status-left-length 30 +set-option -g status-right "#[#{status-style}]%Y-%m-%d %H:%M:%S #[fg=default,bg=default]#{host_short}" +set-option -g status-right-style "#{?client_prefix,#{window-status-bell-style},#{status-style}}" bind-key -N "Switch last session" A switch-client -l bind-key -N "Clock" T clock-mode @@ -45,20 +51,17 @@ bind-key '*' if-shell 'tmux swapw -d -t :=8' '' 'movew -t :=8' bind-key '(' if-shell 'tmux swapw -d -t :=9' '' 'movew -t :=9' bind-key ')' if-shell 'tmux swapw -d -t :=0' '' 'movew -t :=0' -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'tmux-plugins/tmux-pain-control' -set -g @plugin 'lawabidingcactus/tmux-gruvbox-truecolor' +set-option -g @plugin 'tmux-plugins/tpm' +set-option -g @plugin 'tmux-plugins/tmux-sensible' +set-option -g @plugin 'tmux-plugins/tmux-pain-control' +set-option -g @plugin 'tinted-theming/base16-tmux' -if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \ +if-shell "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm $XDG_CONFIG_HOME/tmux/plugins/tpm \ && $XDG_CONFIG_HOME/tmux/plugins/tpm/bin/install_plugins'" -run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm' - -set -g status-left-length 30 -set -g status-left "#[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{s|$HOME|~|:session_path} " +run-shell '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm' %if #{m:*ssh,#{socket_path}} -source "$XDG_CONFIG_HOME/tmux/ssh.conf" +source-file "$XDG_CONFIG_HOME/tmux/ssh.conf" %endif |