custom-hypr - archive v2
This commit is contained in:
91
backupconfig/.tmux.conf
Normal file
91
backupconfig/.tmux.conf
Normal file
@@ -0,0 +1,91 @@
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
# set -g default-terminal "screen-256color"
|
||||
|
||||
set-option -g focus-events on
|
||||
|
||||
set -g prefix C-b
|
||||
# unbind C-b
|
||||
bind-key C-b send-prefix
|
||||
|
||||
unbind %
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
|
||||
unbind '"'
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
||||
unbind r
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
bind j resize-pane -D 5
|
||||
bind k resize-pane -U 5
|
||||
bind l resize-pane -R 5
|
||||
bind h resize-pane -L 5
|
||||
|
||||
bind -r m resize-pane -Z
|
||||
|
||||
set -g mouse on
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
|
||||
|
||||
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode when dragging with mouse
|
||||
|
||||
# remove delay for exiting insert mode with ESC in Neovim
|
||||
set -sg escape-time 10
|
||||
|
||||
# tpm plugin
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
# set -g @plugin 'xamut/tmux-weather'
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# list of tmux plugins
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect' # persist tmux sessions after computer restart
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum' # automatically saves sessions for you every 15 minutes
|
||||
# set -g @plugin 'fabioluciano/tmux-tokyo-night'
|
||||
# run ~/.tmux/plugins/catppuccin/catppuccin.tmux
|
||||
|
||||
# NOTE: ...alongside
|
||||
set -g @catppuccin_flavour "mocha"
|
||||
set -g @catppuccin_window_left_separator " "
|
||||
set -g @catppuccin_window_right_separator " "
|
||||
set -g @catppuccin_window_middle_separator "|"
|
||||
# set -g @catppuccin_window_middle_separator ""
|
||||
|
||||
set -g @catppuccin_window_number_position "right"
|
||||
|
||||
set -g @catppuccin_window_default_fill "all"
|
||||
set -g @catppuccin_window_default_text "#W"
|
||||
|
||||
set -g @catppuccin_window_current_fill "number"
|
||||
set -g @catppuccin_window_current_text "#W"
|
||||
|
||||
set -g @catppuccin_status_modules_right "user host"
|
||||
set -g @catppuccin_status_modules_left "session "
|
||||
set -g @catppuccin_status_right_separator ""
|
||||
|
||||
set -g @catppuccin_status_left_separator " "
|
||||
# set -g @catppuccin_status_right_separator " "
|
||||
set -g @catppuccin_status_middle_separator "|"
|
||||
|
||||
set -g @catppuccin_status_fill "all"
|
||||
set -g @catppuccin_status_connect_separator "yes"
|
||||
set -g @catppuccin_window_status_icon_enable "yes"
|
||||
set -g @catppuccin_window_status_enable "yes"
|
||||
set -g @catppuccin_status_default "on"
|
||||
# icons
|
||||
set -g @catppuccin_icon_window_last " "
|
||||
set -g @catppuccin_icon_window_current " "
|
||||
|
||||
set -g status-position top
|
||||
|
||||
# set -g @catppuccin_directory_text "#{pane_current_path}"
|
||||
# end it
|
||||
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
set -g @continuum-restore 'on'
|
||||
|
||||
# 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