Skip to content

Instantly share code, notes, and snippets.

@sakthivelsekar33
Last active October 10, 2022 16:34
Show Gist options
  • Save sakthivelsekar33/c0447a8bc7db05d96bf1b9510989e8c6 to your computer and use it in GitHub Desktop.
Save sakthivelsekar33/c0447a8bc7db05d96bf1b9510989e8c6 to your computer and use it in GitHub Desktop.
tmux configuration
unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
#set -g default-terminal "screen-255color"
set -g default-terminal "xterm-256color"
set-window-option -g mode-keys vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment