1 # Id: screen-keys.conf,v 1.7 2010-07-31 11:39:13 nicm Exp
3 # By Nicholas Marriott. Public domain.
5 # This configuration file binds many of the common GNU screen key bindings to
6 # appropriate tmux key bindings. Note that for some key bindings there is no
7 # tmux analogue and also that this set omits binding some commands available in
8 # tmux but not in screen.
10 # Note this is only a selection of key bindings and they are in addition to the
11 # normal tmux key bindings. This is intended as an example not as to be used
14 # Set the prefix to ^A.
19 # Bind appropriate commands similar to screen.
52 bind A command-prompt "rename-window %%"
60 bind ^H previous-window
62 bind ^P previous-window
64 bind p previous-window
66 bind BSpace previous-window
76 bind '\' confirm-before "kill-server"
80 bind K confirm-before "kill-window"
82 bind k confirm-before "kill-window"
86 bind ^L refresh-client
96 bind Tab select-pane -t:.+
98 bind BTab select-pane -t:.-
102 bind '"' choose-window