add alacritty config
This commit is contained in:
@@ -4,39 +4,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @plugin 'tmux-plugins/tmux-open'
|
||||
|
||||
set -g @continuum-boot 'on'
|
||||
|
||||
set -g @continuum-boot-options 'iterm,fullscreen'
|
||||
|
||||
set -g @plugin 'dracula/tmux'
|
||||
|
||||
# set -Fg 'status-format[1]' '#{status-format[0]}'
|
||||
# set -g 'status-format[0]' ''
|
||||
# set -g status 2
|
||||
|
||||
set -g @dracula-plugins "git weather time battery"
|
||||
set -g @dracula-show-fahrenheit false
|
||||
set -g @dracula-fixed-location "Madrid"
|
||||
set -g @dracula-show-powerline false
|
||||
set -g @dracula-transparent-powerline-bg true
|
||||
set -g @dracula-military-time true
|
||||
set -g @dracula-day-month true
|
||||
|
||||
set -g @plugin 'ofirgall/tmux-window-name'
|
||||
set -g @tmux_window_name_substitute_sets "[('.+bash', 'bash')]"
|
||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||
set -g @tmux_window_name_use_tilde "True"
|
||||
set -g @tmux_window_name_max_name_len "100"
|
||||
# set-option -g default-shell $SHELL
|
||||
# set -g default-command "$SHELL -i"
|
||||
|
||||
# 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'
|
||||
bind r source-file ~/.tmux.conf \; display "Reloaded!" # Reload with ctrl-r
|
||||
set -sg escape-time 1 # quicker responses
|
||||
|
||||
@@ -63,8 +32,48 @@ bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
|
||||
|
||||
setw -g mode-keys vi
|
||||
|
||||
set-option -g default-shell $SHELL
|
||||
set -g default-command "$SHELL -i"
|
||||
|
||||
set-option -sa terminal-features ',alacritty:RGB'
|
||||
set-option -ga terminal-features ",alacritty:usstyle"
|
||||
set-option -ga terminal-overrides ',alacritty:Tc'
|
||||
set -g default-terminal "alacritty"
|
||||
|
||||
set -g @plugin 'dracula/tmux'
|
||||
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
set -g @resurrect-dir '~/.tmux/resurrect/'
|
||||
|
||||
set -g @continuum-save-interval '15'
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @continuum-boot 'on'
|
||||
|
||||
### tmux-resurrect
|
||||
set -g @resurrect-save 'S' # prefix + Shift-s - save
|
||||
set -g @resurrect-restore 'R' # prefix + Shift-r - restore
|
||||
# for neovim
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
||||
set -g @continuum-boot-options 'alacritty,fullscreen'
|
||||
|
||||
set -g @dracula-plugins "git weather time battery"
|
||||
set -g @dracula-show-fahrenheit false
|
||||
set -g @dracula-fixed-location "Madrid"
|
||||
set -g @dracula-show-powerline false
|
||||
set -g @dracula-transparent-powerline-bg true
|
||||
set -g @dracula-military-time true
|
||||
set -g @dracula-day-month true
|
||||
|
||||
set -g @plugin 'ofirgall/tmux-window-name'
|
||||
set -g @tmux_window_name_substitute_sets "[('.+bash', 'bash')]"
|
||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||
set -g @tmux_window_name_use_tilde "True"
|
||||
set -g @tmux_window_name_max_name_len "100"
|
||||
|
||||
# decide whether we're in a Vim process
|
||||
is_vim="~/.is_vim.sh '#{pane_tty}'"
|
||||
is_vim="~/.is_vim.sh '#{pane_tty}'"
|
||||
|
||||
|
||||
bind-key -n 'S-Left' if-shell "$is_vim" 'send-keys S-Left' 'select-pane -L'
|
||||
|
||||
Reference in New Issue
Block a user