mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-04 07:20:09 +05:30
add zellij and tmux configs
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
# Other examples:
|
||||
# set -g @plugin 'github_username/plugin_name'
|
||||
# set -g @plugin 'github_username/plugin_name#branch'
|
||||
# set -g @plugin 'git@github.com:user/plugin'
|
||||
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
||||
|
||||
# remap prefix from C-b to C-a
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# split panes using | -
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# easy pane switching
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
# Enable mousemode
|
||||
set -g mouse on
|
||||
|
||||
# turn off auto-renaming of windows
|
||||
set-option -wg allow-rename off
|
||||
|
||||
# index at one
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# pane coloring
|
||||
set -g window-style 'fg=default,bg=color236'
|
||||
set -g window-active-style 'fg=default,bg=color234'
|
||||
set -g pane-border-style 'bg=default,fg=color238'
|
||||
set -g pane-active-border-style 'bg=default,fg=blue'
|
||||
set -g mode-style "fg=#0c0c0c,bg=#b6b8bb"
|
||||
set -g message-style "fg=#0c0c0c,bg=#b6b8bb"
|
||||
set -g message-command-style "fg=#0c0c0c,bg=#b6b8bb"
|
||||
set -g pane-border-style "fg=#b6b8bb"
|
||||
set -g pane-active-border-style "fg=#78a9ff"
|
||||
set -g status "on"
|
||||
set -g status-justify "left"
|
||||
set -g status-style "fg=#b6b8bb,bg=#0c0c0c"
|
||||
set -g status-left-length "100"
|
||||
set -g status-right-length "100"
|
||||
set -g status-left-style NONE
|
||||
set -g status-right-style NONE
|
||||
set -g status-left "#[fg=#0c0c0c,bg=#78a9ff,bold] #S #[fg=#78a9ff,bg=#0c0c0c,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[fg=#78a9ff,bg=#0c0c0c] #{prefix_highlight} #[fg=#b6b8bb,bg=#0c0c0c,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#b6b8bb] %Y-%m-%d %I:%M %p #[fg=#78a9ff,bg=#b6b8bb,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#78a9ff,bold] #h "
|
||||
setw -g window-status-activity-style "underscore,fg=#7b7c7e,bg=#0c0c0c"
|
||||
setw -g window-status-separator ""
|
||||
setw -g window-status-style "NONE,fg=#7b7c7e,bg=#0c0c0c"
|
||||
setw -g window-status-format "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[default] #I #W #F #[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#0c0c0c,bg=#b6b8bb,nobold,nounderscore,noitalics]#[fg=#0c0c0c,bg=#b6b8bb,bold] #I #W #F #[fg=#b6b8bb,bg=#0c0c0c,nobold,nounderscore,noitalics]"
|
||||
|
||||
|
||||
# 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