Browse files

fix suspend trouble of C-z

  • Loading branch information...
1 parent a669804 commit 3f772ced550fe2d4770d53e675c25da35ff6da1c Yusuke Watase committed May 15, 2012
Showing with 29 additions and 28 deletions.
  1. +29 −28 tmux.conf
57 tmux.conf
@@ -36,10 +36,11 @@ set-window-option -g window-status-current-bg blue
set-window-option -g window-status-current-fg black
set-window-option -g window-status-current-attr bold
-# Set the prefix to ^T.
+# Set the prefix to C-z.
unbind C-b
-set -g prefix ^Z
+set -g prefix C-z
bind z send-prefix
+bind C-z send-prefix
# Bind appropriate commands similar to screen.
# lockscreen ^X x
@@ -48,46 +49,46 @@ bind z send-prefix
# unbind x
# bind x lock-server
-# screen ^C c
-unbind ^C
-bind ^C new-window -n zsh
+# screen C-c c
+unbind C-c
+bind C-c new-window -n zsh
bind c new-window -n zsh
-# detach ^D d
-unbind ^D
-bind ^D detach
+# detach C-d d
+unbind C-d
+bind C-d detach
# displays *
unbind *
bind * list-clients
-# next ^N n
-unbind ^N
-bind -r ^N next-window
+# next C-n n
+unbind C-n
+bind -r C-n next-window
unbind n
bind -r n next-window
# title A
unbind A
bind A command-prompt "rename-window %%"
-# copy-mode ^[
-unbind ^"["
-bind -r ^"[" copy-mode
-unbind ^]
-bind -r ^] paste-buffer
+# copy-mode C-[
+unbind C-[
+bind -r C-[ copy-mode
+unbind C-]
+bind -r C-] paste-buffer
-# other ^A
-unbind ^A
-bind ^A last-window
+# other C-a
+unbind C-a
+bind C-a last-window
# prev C-p p
unbind C-p
bind -r C-p previous-window
unbind p
bind -r p previous-window
-# windows ^W w
+# windows w
unbind w
bind w list-windows
@@ -101,9 +102,9 @@ bind K confirm-before "kill-window"
unbind k
bind k confirm-before "kill-window"
-# redisplay ^R r
-unbind ^R
-bind ^R refresh-client
+# redisplay C-r r
+unbind C-r
+bind C-r refresh-client
unbind r
bind r refresh-client
@@ -119,12 +120,12 @@ unbind Tab
bind Tab select-pane -t :.-
unbind BTab
bind BTab select-pane -t :.+
-unbind ^H
-bind ^H select-pane -t :.-
+unbind C-h
+bind C-h select-pane -t :.-
unbind h
-bind ^h select-pane -t :.-
-unbind ^L
-bind ^L select-pane -t :.+
+bind h select-pane -t :.-
+unbind C-l
+bind C-l select-pane -t :.+
unbind l
bind l select-pane -t :.+

0 comments on commit 3f772ce

Please sign in to comment.