Skip to content

Instantly share code, notes, and snippets.

@dvtalk
Created March 22, 2020 02:41
Show Gist options
  • Select an option

  • Save dvtalk/b4e3fb9b9b022834ef952053f9891819 to your computer and use it in GitHub Desktop.

Select an option

Save dvtalk/b4e3fb9b9b022834ef952053f9891819 to your computer and use it in GitHub Desktop.
#set-environment -g PATH ""
set -g prefix M-Space
set-window-option -g mode-keys vi
set -g default-terminal "xterm-256color"
set-window-option -g aggressive-resize on
setw -g window-status-activity-style none
setw -g window-status-bell-style none
set-option -g status-position top
set -g status-justify "centre" # centre the window list
set -g pane-border-style fg=colour94
set -g pane-active-border-style bg=default,fg=colour11
#dark: soft pastel
if-shell -b '[ "$DARK" != 1 ]' \
'set -g window-active-style "fg=default,bg=colour8" ' \
'set -g window-active-style "fg=default,bg=colour244" '
if-shell -b '[ "$DARK" != 1 ]' \
'set -g window-style "fg=default,bg=colour239" ' \
'set -g window-style "fg=default,bg=colour251" '
set -g lock-after-time 400
set -g lock-command "/user/hungvn/local/bin/tty-clock -scr"
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
bind -n S-Left select-pane -L
bind -n S-Down select-pane -D
bind -n S-Up select-pane -U
bind -n S-Right select-pane -R
# Binding for lock
bind -r C-l lock-session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment