dotfiles

feels like ${HOME}
Log | Files | Refs | README

.tmux-dark.conf (4035B)


      1 unbind C-b
      2 set -g prefix C-space
      3 
      4 set -g default-terminal 'screen-256color' # replace this with your custom term-info name
      5 # set -ga terminal-overrides ",*256col*:RGB"
      6 set -ga terminal-overrides ',*:Tc' # this is for 256 color
      7 set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # this is for the cursor shape
      8 set -as terminal-overrides ',xterm*:sitm=\E[3m' # this is for italics https://thekennethlove.com/2017/10/my-quest-for-italic-comments-in-vim/
      9 
     10 bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
     11 
     12 set-option -sg escape-time 10
     13 
     14 set -g focus-events on
     15 
     16 set-option -g renumber-windows on
     17 
     18 # reload config file (change file location to your the tmux.conf you want to use)
     19 bind r source-file ~/.tmux.conf
     20 
     21 # split panes using v and s
     22 # while change command to choose tree to a
     23 # also set default command for new session to use same pwd
     24 unbind '"'
     25 unbind %
     26 unbind s
     27 unbind c
     28 bind v split-window -hc '#{pane_current_path}'
     29 bind s split-window -vc '#{pane_current_path}'
     30 bind c new-window -c '#{pane_current_path}'
     31 bind a choose-tree -Zs
     32 
     33 # swap window with ctrl+shift+left/right
     34 bind-key M-Left { swap-window -t -1; previous-window }
     35 bind-key M-Right { swap-window -t +1; next-window }
     36 bind-key _ { swap-window -t -1; previous-window }
     37 bind-key + { swap-window -t +1; next-window }
     38 
     39 set -g mouse on
     40 
     41 # switch panes using Alt-arrow without prefix
     42 # bind -n ˙ select-pane -L
     43 # bind -n ¬ select-pane -R
     44 # bind -n ˚ select-pane -U
     45 # bind -n ∆ select-pane -D
     46 unbind l
     47 bind h select-pane -L
     48 bind l select-pane -R
     49 bind k select-pane -U
     50 bind j select-pane -D
     51 
     52 # [J]oin or [S]eparate current pane
     53 # bind -n M-J command-prompt -p "send pane to:"  "join-pane -t '%%'"
     54 # bind -n M-S break-pane
     55 bind J command-prompt -p "send pane to:"  "join-pane -t '%%'"
     56 bind S break-pane
     57 
     58 # reposition current active pane to be of
     59 # [H]orizontal or [V]ertical position relative to other pane
     60 bind V move-pane -t '.-'
     61 bind H move-pane -h -t '.-'
     62 
     63 # bind -n Ó resize-pane -L
     64 # bind -n Ò resize-pane -R
     65 # bind -n  resize-pane -U
     66 # bind -n Ô resize-pane -D
     67 bind C-h resize-pane -L
     68 bind C-l resize-pane -R
     69 bind C-k resize-pane -U
     70 bind C-j resize-pane -D
     71 
     72 #  modes
     73 setw -g clock-mode-colour colour5
     74 setw -g mode-style 'fg=colour1 bg=colour18 bold'
     75 
     76 # panes
     77 set -g pane-border-style 'fg=colour22 bg=colour0'
     78 set -g pane-active-border-style 'bg=colour0 fg=colour46'
     79 
     80 # statusbar
     81 set -g base-index 1
     82 setw -g pane-base-index 1
     83 set-option -g status-interval 1
     84 
     85 set -g status-position bottom
     86 set -g status-justify left
     87 
     88 # dark
     89 set -g status-style 'bg=#343D46 fg=#ffffff dim'
     90 
     91 # light
     92 # set -g status-style bg=default
     93 
     94 set -g status-left ''
     95 
     96 # set -g status-right '#[fg=colour247,bg=colour239] %d/%m/%y #[fg=colour233,bg=colour245] %H:%M:%S '
     97 # set -g status-right '#[fg=colour250 bg=colour238] #{pane_current_path} '
     98 # dark
     99 set -g status-right '#[bg=#343D46] #(sh ~/.config/pane-border-format.sh --pane-current-path=#{pane_current_path} --pane-active=#{pane_active}) #[fg=#000000 bg=#62B3B2 bold] :D '
    100 
    101 # light
    102 # set -g status-right '#[bg=#000000] #(sh ~/.config/pane-border-format.sh --pane-current-path=#{pane_current_path} --pane-active=#{pane_active}) #[fg=#000000 bg=#ffffff bold] :D '
    103 
    104 set -g status-right-length 150
    105 set -g status-left-length 20
    106 
    107 # dark
    108 setw -g window-status-current-style 'fg=#000000 bg=#62B3B2 bold'
    109 setw -g window-status-current-format ' #I#[fg=#000000]:#[fg=#000000]#W#[fg=#000000]#F '
    110 
    111 # light
    112 # setw -g window-status-current-style 'fg=colour40 bg=#000000 bold'
    113 # setw -g window-status-current-format ' #I#[fg=#ffffff]:#[fg=#ffffff]#W#[fg=#ffffff]#F '
    114 
    115 # dark
    116 setw -g window-status-style 'fg=colour250 bg=colour237'
    117 setw -g window-status-format ' #I#[fg=colour250]:#[fg=colour250]#W#[fg=colour250]#F '
    118 
    119 # light
    120 # setw -g window-status-style 'fg=colour40 bg=#efefef'
    121 # setw -g window-status-format ' #I#[fg=#000000]:#[fg=#000000]#W#[fg=#000000]#F '
    122 
    123 set-option -g bell-action other
    124 setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
    125 
    126 # messages
    127 set -g message-style 'fg=colour226 bg=colour235 bold'