-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
29 lines (23 loc) · 796 Bytes
/
tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Use zsh instead of bash
set -g default-command "/bin/zsh"
# Open new window in the current path
bind - split-window -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
unbind '"'
unbind %
# Window starts at index 1
set -g base-index 1
# Navigate pane with hjkl
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# TMUX status bar
set -g status-bg black
set -g status-fg white
# Resizing panes can be done with mouse since I have mouse enabled;
# To do it with keyboard, first do "ctrl+b :" to enter tmux command mode
# then use :size-pane (-L, -R, -D, -U) (10) to shift left/right/down/up by 10 cells