mac desktop

This commit is contained in:
wooshings
2026-04-08 21:42:04 -07:00
parent d920bb97c9
commit 671d36cabb
67 changed files with 2424 additions and 2109 deletions
+109
View File
@@ -0,0 +1,109 @@
set-option -sa terminal-overrides ",xterm*:Tc"
set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
# ...alongside
set -g @plugin 'tmux-plugins/tpm'
set -g mouse on
# Configure the catppuccin plugin
set -g @catppuccin_flavor "mocha"
set -g @catppuccin_window_status_style "rounded"
# Load catppuccin
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
# For TPM, instead use `run ~/.tmux/plugins/tmux/catppuccin.tmux`
# Make the status line pretty and add some modules
set -g status-right-length 100
set -g status-left-length 100
set -g status-left "#{E:@catppuccin_status_directory}"
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
run ~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux
run ~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux
# Or, if using TPM, just run TPM
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# Spawn a new window (tab equivalent)
bind -n M-c new-window
# Close the current pane
bind -n M-x kill-pane
# Switch to the previous window (tab equivalent)
bind -n M-b previous-window
# Switch to the next window (tab equivalent)
bind -n M-n next-window
# Split the window horizontally
bind -n M-v split-window -h
# Split the window vertically
bind -n M-g split-window -v
# Activate the pane on the left
bind -n M-h select-pane -L
# Activate the pane below
bind -n M-j select-pane -D
# Activate the pane above
bind -n M-k select-pane -U
# Activate the pane on the right
bind -n M-l select-pane -R
# Resize the pane to the left
bind -n M-Left resize-pane -L 5
# Resize the pane to the right
bind -n M-Right resize-pane -R 5
# Resize the pane down
bind -n M-Down resize-pane -D 5
# Resize the pane up
bind -n M-Up resize-pane -U 5
# Start windows and panes at 1, not 0
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 -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
#set -g @plugin 'catppuccin/tmux'
#set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
set -g @plugin 'wooshdude/catppuccin-tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_window_status_style "rounded"
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g @catppuccin_window_current_number_color "#{@thm_magenta}"
#set -g @catppuccin_status_middle_separator ""
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_left_separator ""
run '~/.tmux/plugins/tpm/tpm'
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
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-selection-and-cancel
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"