first !!!
This commit is contained in:
commit
f51ee7e6ec
74
.tmux.conf
Normal file
74
.tmux.conf
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
bind \\ split-window -h
|
||||
bind - split-window -v
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
bind s choose-tree -sZ -O name
|
||||
|
||||
setw -g mode-keys vi
|
||||
bind / copy-mode \; send-key /
|
||||
bind ? copy-mode \; send-key ?
|
||||
|
||||
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||
|
||||
set -g mouse on
|
||||
set -g allow-rename off
|
||||
set -g history-limit 50000
|
||||
|
||||
# Allow Spacemacs to correctly show colours
|
||||
set -g default-terminal 'screen-256color'
|
||||
# Send the escape key after 10ms (Defaults to 500ms)
|
||||
set -s escape-time 10
|
||||
|
||||
# colors
|
||||
set -g pane-active-border-style bg=default,fg="colour14"
|
||||
set -g pane-border-style fg="colour239"
|
||||
|
||||
set -g message-style fg=black,bg="colour14"
|
||||
|
||||
set -g status-justify left
|
||||
set -g status-style bg="colour236",fg="colour14"
|
||||
|
||||
setw -g clock-mode-colour "colour14"
|
||||
|
||||
setw -g status-left " #S "
|
||||
setw -g status-left-style fg=black,bg="colour14"
|
||||
|
||||
set -g status-right-length "100"
|
||||
# 24 hour time: `%H:%M`
|
||||
# 12 hour time: `%-I:%M %p`
|
||||
set -g status-right "#[bg=colour239]#[fg=white] %a %B %-d, %Y #[fg=colour14].:. #[fg=white]%H:%M #[fg=black,bg=colour14] #h "
|
||||
|
||||
setw -g window-status-format " #I: #W "
|
||||
# separator symbols: ┃ ║ │ ❮ ❯ ╲ ╱ left bar: ⎸ right bar: ⎹
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style fg="colour14"
|
||||
|
||||
setw -g window-status-current-style fg=white,bg="colour239"
|
||||
setw -g window-status-current-format "#[fg="colour14"] #[fg=white]#I: #W#[fg=colour14] "
|
||||
|
||||
setw -g window-status-bell-style fg="colour9"
|
||||
setw -g window-status-activity-style fg=yellow
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
# CHEAT SHEET:
|
||||
#
|
||||
# update working dir of a session to current dir
|
||||
# :attach-session -t . -c '#{pane_current_path}'
|
||||
#
|
||||
# save pane layout prefix C-s
|
||||
# restore pane layout prefix C-r
|
||||
#
|
||||
# swap two panes
|
||||
# on one prefix m
|
||||
# on the other :swap-pane
|
||||
Loading…
Reference in New Issue
Block a user