Last active
April 28, 2023 06:55
-
-
Save davrux/95fcbd6912dee81fe8ec73d306a81292 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# No login shell | |
set -g default-command "${SHELL}" | |
# remap prefix to CTRL + . | |
set -g prefix C-o | |
unbind C-b | |
bind-key C-o send-prefix | |
# Use emacs mode | |
setw -g mode-keys emacs | |
set-option -g mouse on | |
set-option -g status on | |
bind-key o send-prefix | |
bind-key C-o last-window | |
bind c new-window -c "#{pane_current_path}" | |
bind \" split-window -h -c "#{pane_current_path}" | |
bind % split-window -v -c "#{pane_current_path}" | |
# Support window reorder. | |
bind-key -n C-S-Left swap-window -t -1 | |
bind-key -n C-S-Right swap-window -t +1 | |
# Use "xterm" to have full bold font and so on. | |
set -g default-terminal "xterm-256color" | |
#set -g default-terminal "xterm" | |
# pane border | |
set -g pane-border-style fg='#8be9fd' | |
set -g pane-active-border-style fg='#8be9fd' | |
# message text | |
set -g message-style bg='#44475a',fg='#8be9fd' | |
set -g status-style bg='#44475a',fg='#8be9fd' | |
set -g status-interval 1 | |
# window status | |
set-window-option -g window-status-style fg='#bd93f9',bg=default | |
set-window-option -g window-status-current-style fg='#ff79c6',bg='#282a36' | |
set-option -g status-left-length 20 | |
set -g window-status-current-format "#[fg=#44475a]#[bg=#bd93f9]#[fg=#f8f8f2]#[bg=#bd93f9] #I #W #[fg=#bd93f9]#[bg=#44475a]" | |
set -g window-status-format "#[fg=#f8f8f2]#[bg=#44475a]#I #W #[fg=#44475a] " | |
# windowlist selection | |
set -wg mode-style bg='#44475a',fg='#8be9fd' | |
# status right | |
#set -g status-right '#[fg=#8be9fd,bg=#44475a]#[fg=#44475a,bg=#8be9fd] #(tmux-mem-cpu-load -g 5 --interval 2) ' | |
#set -ga status-right '#[fg=#ff79c6,bg=#8be9fd]#[fg=#44475a,bg=#ff79c6] #(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") ' | |
#set -ga status-right '#[fg=#bd93f9,bg=#ff79c6]#[fg=#f8f8f2,bg=#bd93f9] %a %H:%M:%S #[fg=#6272a4]%Y-%m-%d ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment