Skip to content
Browse files

Adjusting bindings so they're more familiar / consistent with screen …

…and escreen.
  • Loading branch information...
1 parent ce8b448 commit 8c31a451eb74fa301fb94c488375acf277f579ca @markhepburn committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 .tmux.conf
8 .tmux.conf
@@ -7,6 +7,14 @@ bind-key C-z last-window
# hitting 'C-z z' will run Ctrl+Z (SIGTSTP, suspend as usual)
bind-key z send-keys C-z
+# Emulate the commands I'm used to; bindings are already basically the
+# same, but the second key is not control-prefixed, which I find
+# slightly less efficient and easy to get wrong (eg, C-zc instead of
+# C-zC-c)
+bind-key C-c new-window
+bind-key C-n next-window
+bind-key C-p previous-window
# Split windows; following
unbind-key % # Remove default binding since we’re replacing
unbind-key -

0 comments on commit 8c31a45

Please sign in to comment.
Something went wrong with that request. Please try again.