76 lines
4.3 KiB
Plaintext
76 lines
4.3 KiB
Plaintext
|
# ██╗ ██████╗ █████╗ ██████╗ ████████╗██╗██╗ ██╗ ████████╗███╗ ███╗██╗ ██╗██╗ ██╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
|
||
|
# ██║██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║╚██╗██╔╝ ╚══██╔══╝████╗ ████║██║ ██║╚██╗██╔╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
|
||
|
# ██║██║ ███████║██║ ██║ ██║ ██║ ╚███╔╝ ██║ ██╔████╔██║██║ ██║ ╚███╔╝ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
|
||
|
# ██║██║ ██╔══██║██║ ██║ ██║ ██║ ██╔██╗ ██║ ██║╚██╔╝██║██║ ██║ ██╔██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
|
||
|
# ██║╚██████╗██║ ██║╚██████╔╝ ██║ ██║██╔╝ ██╗ ██║ ██║ ╚═╝ ██║╚██████╔╝██╔╝ ██╗ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
|
||
|
# ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
|
||
|
#
|
||
|
|
||
|
###
|
||
|
### Keybinds
|
||
|
###
|
||
|
|
||
|
# remap prefix from 'Ctrl-b' to 'M'
|
||
|
unbind C-b
|
||
|
set -g prefix C-s
|
||
|
bind C-s send-prefix
|
||
|
|
||
|
# remap splitting panes
|
||
|
unbind '%'
|
||
|
unbind '"'
|
||
|
bind b split-window -v -c "#{pane_current_path}" # vertical
|
||
|
bind a split-window -h -c "#{pane_current_path}" # horizontal
|
||
|
|
||
|
# keep current path when creating a new window
|
||
|
bind c new-window -c "#{pane_current_path}"
|
||
|
|
||
|
# remap pane switching
|
||
|
bind -n M-Left select-pane -L
|
||
|
bind -n M-Right select-pane -R
|
||
|
bind -n M-Up select-pane -U
|
||
|
bind -n M-Down select-pane -D
|
||
|
|
||
|
# Renaming session: C-s $
|
||
|
# Renaming window : C-s ,
|
||
|
|
||
|
###
|
||
|
### Other Global Options
|
||
|
###
|
||
|
|
||
|
setw -g mouse on # activate mouse scrolling
|
||
|
set -g base-index 1 # start window count at 1
|
||
|
set -g default-terminal "screen-256color"
|
||
|
set -g renumber-windows "on"
|
||
|
set -g history-limit 5000 # increase scroll buffer to 5000
|
||
|
|
||
|
###
|
||
|
### » My Theme «
|
||
|
###
|
||
|
|
||
|
set -goq @time-format "%H:%M:%S"
|
||
|
set -goq @date-format "%Y-%m-%d"
|
||
|
|
||
|
set -g display-panes-active-colour default
|
||
|
set -g display-panes-colour default
|
||
|
set -g message-command-style "fg=default,bg=default"
|
||
|
set -g message-style "fg=default,bg=default"
|
||
|
set -g status-interval 1
|
||
|
set -g status-justify centre
|
||
|
set -g status-left "#(whoami)@#{host_short} #[fg=white]» #{session_name} #[fg=white]» #[fg=yellow]#{window_index} #[fg=cyan]#{pane_index} "
|
||
|
set -g status-left-length 50
|
||
|
set -g status-left-style "fg=green,bg=black"
|
||
|
set -gF status-right " #[fg=green]#{@date-format} #[fg=yellow]#{@time-format}"
|
||
|
set -g status-right-length 50
|
||
|
set -g status-right-style "fg=cyan,bg=black"
|
||
|
set -g status-style "fg=cyan,bg=black"
|
||
|
set -gw clock-mode-colour red
|
||
|
set -gw clock-mode-style 24
|
||
|
set -gw mode-style "fg=black,bg=green"
|
||
|
set -gw pane-active-border-style "fg=cyan,bg=default"
|
||
|
set -gw pane-border-style "fg=default,bg=default"
|
||
|
set -gw window-status-activity-style "fg=yellow,bg=black"
|
||
|
set -gw window-status-current-format " #{window_index}:#{window_name}#{window_flags} "
|
||
|
set -gw window-status-current-style "fg=black,bg=cyan"
|
||
|
set -gw window-status-format " #{window_index}:#{window_name}#{window_flags} "
|
||
|
set -gw window-status-separator ""
|