47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
|
# Kept as a note, TODO update devpod tmux version
|
||
|
#
|
||
|
# -- user customizations -------------------------------------------------------
|
||
|
# this is the place to override or undo settings
|
||
|
|
||
|
# Open tmux with zsh
|
||
|
set -g default-shell /bin/zsh
|
||
|
set -g default-command /bin/zsh
|
||
|
|
||
|
# increase history size
|
||
|
set -g history-limit 10000
|
||
|
|
||
|
# start with mouse mode disabled
|
||
|
set -g mouse off
|
||
|
|
||
|
# force Vi mode
|
||
|
# really you should export VISUAL or EDITOR environment variable, see manual
|
||
|
#set -g status-keys vi
|
||
|
#set -g mode-keys vi
|
||
|
|
||
|
# replace C-b by C-a instead of using both prefixes
|
||
|
# set -gu prefix2
|
||
|
# unbind C-a
|
||
|
# unbind C-b
|
||
|
# set -g prefix C-Space
|
||
|
# bind C-Space send-prefix
|
||
|
|
||
|
# move status line to top
|
||
|
set -g status-position top
|
||
|
|
||
|
# split panes using | and -
|
||
|
# bind \\ split-window -h # for tmux 3.x and above
|
||
|
bind \ split-window -h
|
||
|
bind - split-window -v
|
||
|
unbind '"'
|
||
|
unbind %
|
||
|
|
||
|
# switch panes using Alt-arrow without prefix
|
||
|
bind -n M-h select-pane -L
|
||
|
bind -n M-l select-pane -R
|
||
|
bind -n M-k select-pane -U
|
||
|
bind -n M-j select-pane -D
|
||
|
|
||
|
# set <prefix> space to toggle between pane layouts
|
||
|
bind '"' next-layout
|
||
|
|