Last active
October 20, 2024 16:52
-
-
Save sharpicx/70533037f75c04c9c0b9440e412a82b6 to your computer and use it in GitHub Desktop.
macbook .tmux.conf
This file contains 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
set -g default-terminal "screen-256color" | |
setw -g xterm-keys on | |
set -s escape-time 10 | |
set -sg repeat-time 600 | |
set -s focus-events on | |
unbind C-b | |
set -g prefix C-a | |
set-option -g repeat-time 0 | |
setw -g mouse on | |
set -g mode-keys vi | |
set -s copy-command "pbcopy" | |
if -b 'command -v pbcopy > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | pbcopy"' | |
bind - split-window -v -c "#{pane_current_path}" | |
bind | split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
bind -n S-Left previous-window | |
bind -n S-Right next-window | |
bind -T copy-mode-vi s command-prompt -i -p "(search down)" "send -X search-forward-incremental \"%%%\"" | |
bind -T copy-mode-vi r command-prompt -i -p "(search up)" "send -X search-backward-incremental \"%%%\"" | |
bind-key x kill-pane | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'erikw/tmux-powerline' | |
set -g @plugin 'wfxr/tmux-power' | |
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' | |
set -g @tmux_power_theme 'moon' | |
set -g @tmux_power_prefix_highlight_pos 'LR' | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment