Created
July 11, 2024 13:54
-
-
Save franklincm/dee8f87f04efe6537b7d07fa3b61da65 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 -g repeat-time 400 | |
set -g default-terminal screen-256color | |
set -g prefix C-a | |
bind C-a send-prefix | |
unbind C-b | |
set -sg escape-time 1 | |
bind r source-file ~/.tmux.conf\; display "source-file ~/.tmux.conf" | |
bind | split-window -h | |
bind - split-window -v | |
bind -r n next-window | |
bind -r p previous-window | |
bind -r h select-pane -L | |
bind -r j select-pane -D | |
bind -r k select-pane -U | |
bind -r l select-pane -R | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
bind -r H resize-pane -L 2 | |
bind -r J resize-pane -D 2 | |
bind -r K resize-pane -U 2 | |
bind -r L resize-pane -R 2 | |
bind -r F resize-pane -Z | |
setw -g mode-keys vi | |
bind ` copy-mode | |
# bind p paste-buffer | |
bind b choose-buffer | |
bind g choose-session | |
bind C-x confirm-before -p "kill other windows? (y/n)" "kill-window -a" | |
bind C-q confirm-before -p "kill-session #S? (y/n)" kill-session | |
bind q run-shell "tmuxinator stop $TMUXINATOR_SESSION" | |
# active window focus | |
# set -g window-style 'fg=colour247,bg=colour236' | |
# set -g window-active-style 'fg=default,bg=colour234' | |
# Pane border | |
# set -g pane-border-style 'fg=colour238,bg=default' | |
# Active pane border | |
# set -g pane-active-border-style 'fg=red,bg=default' | |
run-shell 'powerline-config tmux setup' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment