Created
August 17, 2025 08:56
-
-
Save Bhavya031/9a1cc9d391564fc62aca089504e297dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g default-terminal "tmux-256color" | |
set -ag terminal-overrides ",xterm-256color:Tc" | |
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "<clipboard_program>" | |
set -g prefix C-s | |
setw -g mode-keys vi | |
set -g mouse on | |
set-option -g status-position top | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'catppuccin/tmux#latest' | |
set -g @catppuccin_window_left_separator "" | |
set -g @catppuccin_window_right_separator " " | |
set -g @catppuccin_window_middle_separator " █" | |
set -g @catppuccin_window_number_position "right" | |
set -g @catppuccin_window_default_fill "number" | |
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 "directory user host session" | |
set -g @catppuccin_status_left_separator " " | |
set -g @catppuccin_status_right_separator "" | |
set -g @catppuccin_status_fill "icon" | |
set -g @catppuccin_status_connect_separator "no" | |
set -g @catppuccin_directory_text "#{pane_current_path}" | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin 'github_username/plugin_name#branch' | |
# set -g @plugin '[email protected]:user/plugin' | |
# set -g @plugin '[email protected]:user/plugin' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle | |
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment