Remove setting no longer present in tmux 2.0+, and change Escape to Ctrl-Escape

This commit is contained in:
Kevin MacMartin 2015-05-28 16:22:16 -04:00
parent 0f5dea490c
commit 16bb184264
3 changed files with 3 additions and 5 deletions

View file

@ -33,7 +33,7 @@
| `<Space>` and `<Ctrl><Space>` | Move to the previously selected pane and window respectively |
| `h`, `j`, `k` and `l` | Move left, down, up and right between panes respectively like the arrow keys |
| `` ` `` | Toggle synchronized input between the panes on the current window |
| `<Escape>` | Clear the terminal history, tmux history and the current window/pane |
| `<Ctrl><Escape>` | Clear the terminal history, tmux history and the current window/pane |
| `?` and `/` | Show help for available key bindings and commands respectively |
| `y` and `<Ctrl>p` | Enter __copy mode__ and paste from the copy buffer respectively |
| `<Ctrl>v` and `<Ctrl>y` | Pastes the X buffer in tmux, and sends the tmux buffer to X respectively |

View file

@ -111,7 +111,7 @@ bind l select-pane -R
bind ` set-window-option synchronize-panes \; display "synchronize-panes: toggled"
#
# escape to clearing history and screen
bind Escape send-keys -R\; send-keys 'C-l'\; clear-history
bind C-Escape send-keys -R\; send-keys 'C-l'\; clear-history
#
# ? and <ctrl>? to keyboard and command help respectively
bind ? list-keys
@ -165,7 +165,6 @@ set-option -g pane-active-border-style fg=colour167
set-window-option -g window-status-style fg=colour255,bg=colour236
set-window-option -g window-status-activity-style fg=colour222,bold
set-window-option -g window-status-bell-style fg=colour222,bold
set-window-option -g window-status-content-style fg=colour222,bold
#
# theme for active and inactive window titles respectively
set-window-option -g window-status-format '#[fg=colour255,bg=colour236] #I #[fg=colour117,bg=colour236,nobold,nounderscore,noitalics]|#[fg=colour255,bg=colour236] #W '

View file

@ -111,7 +111,7 @@ bind l select-pane -R
bind ` set-window-option synchronize-panes \; display "synchronize-panes: toggled"
#
# escape to clearing history and screen
bind Escape send-keys -R\; send-keys 'C-l'\; clear-history
bind C-Escape send-keys -R\; send-keys 'C-l'\; clear-history
#
# ? and <ctrl>? to keyboard and command help respectively
bind ? list-keys
@ -165,7 +165,6 @@ set-option -g pane-active-border-style fg=colour167
set-window-option -g window-status-style fg=colour255,bg=colour236
set-window-option -g window-status-activity-style fg=colour222,bold
set-window-option -g window-status-bell-style fg=colour222,bold
set-window-option -g window-status-content-style fg=colour222,bold
#
# theme for active and inactive window titles respectively
set-window-option -g window-status-current-format '#[fg=colour236,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour253,bg=colour235,bold] #I #[fg=colour167,bg=colour235,bold,nounderscore,noitalics]#[fg=colour253,bg=colour235,bold] #W #[fg=colour235,bg=colour236,nobold,nounderscore,noitalics]'