mirror of
1
0
Fork 0

Add devpod note

This should be deleted once the tmux version on the devpod is updated
This commit is contained in:
Tiffany Lin 2020-10-03 09:37:21 -07:00
parent 14eed43bb4
commit ebd29ab5d5
1 changed files with 46 additions and 0 deletions

46
tmux.conf.devpod Normal file
View File

@ -0,0 +1,46 @@
# 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