parent
a5693c1964
commit
69286972bf
40 changed files with 41 additions and 744 deletions
29
tmux/tmux.conf
Normal file
29
tmux/tmux.conf
Normal file
|
@ -0,0 +1,29 @@
|
|||
set -g set-titles on
|
||||
set -g mouse off
|
||||
|
||||
unbind C-b
|
||||
set -g prefix C-f
|
||||
bind-key C-f send-prefix
|
||||
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-l select-pane -R
|
||||
|
||||
#reload config file
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
# nvim recommendations
|
||||
set -sg escape-time 10
|
||||
set -g focus-events on
|
||||
set -sa terminal-overrides ',xterm-256color:RGB'
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
|
||||
set -g base-index 1
|
||||
|
||||
# default is 2000
|
||||
set -g history-limit 50000
|
||||
|
||||
set -as terminal-features ",kitty*:RGB"
|
||||
|
||||
source-file ~/.config/tmux/tokyonight_night.tmux
|
38
tmux/tokyonight_night.tmux
Normal file
38
tmux/tokyonight_night.tmux
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# TokyoNight colors for Tmux
|
||||
|
||||
set -g mode-style "fg=#7aa2f7,bg=#3b4261"
|
||||
|
||||
set -g message-style "fg=#7aa2f7,bg=#3b4261"
|
||||
set -g message-command-style "fg=#7aa2f7,bg=#3b4261"
|
||||
|
||||
set -g pane-border-style "fg=#3b4261"
|
||||
set -g pane-active-border-style "fg=#7aa2f7"
|
||||
|
||||
set -g status "on"
|
||||
set -g status-justify "left"
|
||||
|
||||
set -g status-style "fg=#7aa2f7,bg=#16161e"
|
||||
|
||||
set -g status-left-length "100"
|
||||
set -g status-right-length "100"
|
||||
|
||||
set -g status-left-style NONE
|
||||
set -g status-right-style NONE
|
||||
|
||||
set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
|
||||
if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' {
|
||||
set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h "
|
||||
}
|
||||
|
||||
setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "NONE,fg=#a9b1d6,bg=#16161e"
|
||||
setw -g window-status-format "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]"
|
||||
|
||||
# tmux-plugins/tmux-prefix-highlight support
|
||||
set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#16161e]#[fg=#16161e]#[bg=#e0af68]"
|
||||
set -g @prefix_highlight_output_suffix ""
|
Loading…
Add table
Add a link
Reference in a new issue