Skip to content

Instantly share code, notes, and snippets.

@akoGit
Created May 8, 2024 20:45
Show Gist options
  • Save akoGit/0fce8c7f6b668c3e214109a6dc38a3a5 to your computer and use it in GitHub Desktop.
Save akoGit/0fce8c7f6b668c3e214109a6dc38a3a5 to your computer and use it in GitHub Desktop.
tmux conf
set -ga terminal-overrides ",screen-256color*:Tc"
set-option -g default-terminal "screen-256color"
set -g status-style "bg=black,fg=#5eacd3"
set -s escape-time 0
set-option -g status-right "%a %d %b %I:%M %p"
set -g pane-border-style fg=#333333
set -g pane-active-border-style "bg=default fg=#333333"
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
set -g base-index 1
unbind r
bind r source-file ~/.tmux.conf
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
set -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment