1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
common-configs/tmux/screen.conf

46 lines
766 B

# screen's prefix is Ctrl-A
set-option -g prefix C-a
# send prefix with a
set -gu prefix2
unbind C-b
bind a send-prefix
unbind p
bind p previous-window
unbind n
bind n next-window
# move to last window with Ctrl-A
unbind l
bind C-a last-window
# rename window with A
unbind ,
unbind A
bind A command-prompt "rename-window '%%'"
# also create windows with Ctrl-C
bind C-c new-window
# also detach with Ctrl-D
bind C-d detach-client
# also go next window with Ctrl-N, space
unbind " "
bind " " next-window
bind C-n next-window
# also go previous with h, backspace
bind h previous-window
bind BSpace previous-window
# show window list with C-W, w
bind C-w list-windows
# unbind w
# bind w list-windows
# choose window with "
unbind '"'
bind '"' choose-window