Add tmux
This commit is contained in:
40
.config/tmux/tmux.conf
Normal file
40
.config/tmux/tmux.conf
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
# tell Tmux that outside terminal supports true color
|
||||||
|
set -ga terminal-overrides ",xterm-256color*:Tc"
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||||
|
|
||||||
|
# TMUX Configs
|
||||||
|
set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
|
||||||
|
set -g @nord_tmux_no_patched_font "1"
|
||||||
|
|
||||||
|
# Border colors
|
||||||
|
set -g pane-border-style fg=white
|
||||||
|
set -g pane-active-border-style "bg=default fg=blue"
|
||||||
|
|
||||||
|
# Status bar colors
|
||||||
|
set -g status-bg blue
|
||||||
|
set -g status-fg white
|
||||||
|
|
||||||
|
# Move panels like vim
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# Change panel size
|
||||||
|
bind H resize-pane -L 5
|
||||||
|
bind J resize-pane -D 5
|
||||||
|
bind K resize-pane -U 5
|
||||||
|
bind L resize-pane -R 5
|
||||||
|
|
||||||
|
# Other examples:
|
||||||
|
# set -g @plugin 'github_username/plugin_name'
|
||||||
|
# set -g @plugin 'git@github.com:user/plugin'
|
||||||
|
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
Reference in New Issue
Block a user