mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
add setup resources
This commit is contained in:
parent
4cb266b7b5
commit
da8114758e
18 changed files with 12796 additions and 0 deletions
54
resources/.tmux.conf
Normal file
54
resources/.tmux.conf
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# option
|
||||
set-option -g status-keys vi
|
||||
set-option -g status-utf8 on
|
||||
set-option -g default-terminal 'screen-256color'
|
||||
set-option -g default-shell '/bin/zsh'
|
||||
|
||||
set-option -g status-fg magenta
|
||||
set-option -g status-bg default
|
||||
set-option -g status-left-length 20
|
||||
set-option -g status-left ' #[fg=green]#(whoami)#[default]@#[fg=cyan]#h#[default]'
|
||||
set-option -g status-right "#[fg=yellow]#(date +'%a %m/%d %H:%M') "
|
||||
|
||||
set-option -g pane-border-bg white
|
||||
|
||||
# window-option
|
||||
set-window-option -g mode-keys vi
|
||||
set-window-option -g utf8 on
|
||||
set-window-option -g monitor-activity on
|
||||
set-window-option -g monitor-content '%alert%'
|
||||
set-window-option -g window-status-content-attr reverse
|
||||
set-window-option -g window-status-content-fg red
|
||||
set-window-option -g window-status-content-bg default
|
||||
|
||||
set-window-option -g window-status-current-attr bright
|
||||
set-window-option -g window-status-current-fg yellow
|
||||
set-window-option -g window-status-current-bg default
|
||||
set-window-option -g window-status-format '#I:#W[#P]#F'
|
||||
set-window-option -g window-status-current-format '#I:#W[#P]#F'
|
||||
|
||||
set-option -g pane-active-border-bg green
|
||||
|
||||
# bind key
|
||||
bind-key -n C-e command-prompt
|
||||
|
||||
unbind-key %
|
||||
bind-key | split-window -h
|
||||
bind-key - split-window -v
|
||||
|
||||
bind-key -n C-w choose-window
|
||||
|
||||
bind-key h select-pane -L
|
||||
bind-key j select-pane -D
|
||||
bind-key k select-pane -U
|
||||
unbind-key l
|
||||
bind-key l select-pane -R
|
||||
|
||||
bind-key -n C-o last-window
|
||||
|
||||
bind-key -n M-o run-shell "tmux swap-pane -U; tmux last-pane "
|
||||
|
||||
bind-key [ copy -u
|
||||
bind-key -n C-] paste
|
||||
|
||||
bind-key -t vi-copy Y copy-line
|
||||
Loading…
Add table
Add a link
Reference in a new issue