Created
February 1, 2024 09:28
-
-
Save ajankovic/5b779884eb275358b3079f029fee0477 to your computer and use it in GitHub Desktop.
Tmux conf
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
set-option -g default-shell /bin/zsh | |
set -g default-terminal "screen-256color" | |
set-option -sg escape-time 10 | |
set-option -g focus-events on | |
unbind r | |
bind r source-file ~/.tmux.conf | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
bind -r m resize-pane -Z | |
set -g mouse on | |
unbind -T copy-mode-vi MouseDragEnd1Pane | |
set -g prefix C-a | |
unbind C-b | |
bind-key C-a send-prefix | |
set-window-option -g mode-keys vi | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection | |
bind -n M-h select-pane -L | |
bind -n M-l select-pane -R | |
bind -n M-k select-pane -U | |
bind -n M-j select-pane -D | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'jimeh/tmux-themepack' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @themepack 'powerline/default/cyan' | |
set -g @resurrect-capture-pane-contents 'on' | |
set -g status-position top | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment