tmux: add initial tmux configuration
This commit is contained in:
parent
939234c89e
commit
ef48859adc
1 changed files with 22 additions and 0 deletions
22
stow/.config/tmux/tmux.conf
Normal file
22
stow/.config/tmux/tmux.conf
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-a
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
|
# vim keys
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# start ajacent terminals with same path
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
|
bind % split-window -h -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# set variables
|
||||||
|
set -g mouse on
|
||||||
|
set -g history-limit 100000
|
||||||
|
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue