Skip to content

Instantly share code, notes, and snippets.

@kanguki
Created May 30, 2022 02:53
Show Gist options
  • Save kanguki/fd9a16b07b414c802bf5d3e1c9f428a9 to your computer and use it in GitHub Desktop.
Save kanguki/fd9a16b07b414c802bf5d3e1c9f428a9 to your computer and use it in GitHub Desktop.
set -g default-terminal "screen-256color"
set -g history-limit 10000
set -g status-fg red
set -g status-bg black
set -g mouse on
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
#set inactive/active window styles
set -g window-style 'fg=colour247,bg=colour235'
set -g window-active-style 'fg=colour250,bg=black'
# set the pane border colors
set -g pane-border-fg colour250
set -g pane-border-bg colour236
set -g pane-active-border-fg colour250
set -g pane-active-border-bg colour250
#ctrl-shift-mouse click in certain terminals like tilix selects a rectangular region
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment