- **i3**: force Lutris windows to floating mode
- **nvim/colorizer**: switch to `catgoose/nvim-colorizer.lua` and simplify config
- **nvim/leap**: migrate source to Codeberg and expand search to visual/operator-pending modes
- **nvim/lsp**:
- add devicons and treesitter as explicit dependencies
- switch completion formatting from `kind` to `icon`
- disable cmake lsp from mason auto-install
- **nvim/treesitter**:
- refactor initialization to manually handle parser installation
- add custom FileType autocmd for treesitter starting and indentation
- **nvim/markdown**: remove language border from code blocks
- **tmux**: switch default terminal from xterm to screen-256color
- **zsh**: remove direnv hook
Signed-off-by: erick-alcachofa <erick@artichoke.dev>
98 lines
3.2 KiB
Bash
98 lines
3.2 KiB
Bash
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
|
set -g @plugin 'MunifTanjim/tmux-mode-indicator'
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g status "on"
|
|
set -g status-bg "default"
|
|
set -g status-justify "left"
|
|
set -g status-style "none,bg=default"
|
|
|
|
set -g @mode_indicator_prefix_prompt ' #S '
|
|
set -g @mode_indicator_copy_prompt ' #S '
|
|
set -g @mode_indicator_sync_prompt ' #S '
|
|
set -g @mode_indicator_empty_prompt ' #S '
|
|
|
|
set -g @mode_indicator_prefix_mode_style 'bg=#473c29,fg=#d4be98,bold'
|
|
set -g @mode_indicator_copy_mode_style 'bg=#333e34,fg=#d4be98,bold'
|
|
set -g @mode_indicator_sync_mode_style 'bg=#442e2d,fg=#d4be98,bold'
|
|
set -g @mode_indicator_empty_mode_style 'bg=#2e3b3b,fg=#d4be98,bold'
|
|
|
|
set -g status-left "#{tmux_mode_indicator}#[fg=default,bg=default,nobold] "
|
|
set -g status-left-style "none"
|
|
set -g status-left-length "100"
|
|
|
|
set -g status-right ""
|
|
set -g status-right-style "none"
|
|
set -g status-right-length "100"
|
|
|
|
set -g message-style "fg=#d4be98,bg=default,bold"
|
|
set -g message-command-style "fg=#d4be98,bg=default,bold"
|
|
|
|
set -g display-panes-colour "#a96b2c"
|
|
set -g display-panes-active-colour "#45707a"
|
|
|
|
set -g mode-style "fg=#d4be98,bg=#45707a,bold"
|
|
set -g menu-selected-style "fg=#d4be98,bg=#45707a,bold"
|
|
|
|
set -g pane-border-lines heavy
|
|
set -g pane-border-style "fg=#504945"
|
|
set -g pane-active-border-style "fg=#a89984"
|
|
|
|
setw -g window-status-separator " "
|
|
setw -g window-status-activity-style "none"
|
|
setw -g window-status-style "none,bg=default"
|
|
|
|
setw -g window-status-format "#[fg=#d4be98,bg=#a96b2c,bold] #I #[fg=#d4be98,bg=#3c3836] #W#{?window_activity_flag, ,}#{?window_bell_flag, ,}#{?window_last_flag, ,}#{?window_marked_flag, ,}#{?window_zoomed_flag, ,} #[fg=default,bg=default,nobold]"
|
|
setw -g window-status-current-format "#[fg=#d4be98,bg=#45707a,bold] #I #[fg=#ddc7a1,bg=#282828] #W#{?window_activity_flag, ,}#{?window_bell_flag, ,}#{?window_last_flag, ,}#{?window_marked_flag, ,}#{?window_zoomed_flag, ,} #[fg=default,bg=default,nobold]"
|
|
|
|
run '~/.config/tmux/plugins/tpm/tpm'
|
|
|
|
set -g allow-passthrough on
|
|
|
|
set -g status-position bottom
|
|
set -g default-terminal "screen-256color"
|
|
set -ga terminal-overrides ",screen-256color:RGB"
|
|
|
|
set -ga update-environment TERM
|
|
set -ga update-environment TERM_PROGRAM
|
|
|
|
set -sg escape-time 10
|
|
set -g focus-events on
|
|
|
|
unbind C-b
|
|
set-option -g prefix C-Space
|
|
bind-key C-Space send-prefix
|
|
|
|
bind $ split-window -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
bind c new-window -c "#{pane_current_path}"
|
|
|
|
unbind '"'
|
|
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
bind O setw synchronize-panes
|
|
|
|
set -s set-clipboard on
|
|
set-option -g history-limit 100000
|
|
|
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
|
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
|
|
|
|
unbind -T copy-mode MouseDragEnd1Pane
|
|
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel
|
|
|
|
set -g mouse on
|