30 lines
499 B
Bash
30 lines
499 B
Bash
# Start windows and panes at 1, not 0
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# Set default shell to ZSH
|
|
set-option -g default-shell /usr/bin/zsh
|
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
|
|
# split panes using | and -
|
|
bind I split-window -h
|
|
bind - split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# New keybinds for copy mode
|
|
bind v copy-mode
|
|
unbind [
|
|
|
|
# Increase scroolback buffer
|
|
set-option -g history-limit 10000
|
|
|
|
|
|
bind f resize-pane -Z
|
|
unbind z
|