Swap ctrl-space and space for last pane and window (ctrl is now for window)

This commit is contained in:
Kevin MacMartin 2014-12-22 22:19:46 -05:00
parent 5aa5d6dde0
commit c45becdd5c
3 changed files with 10 additions and 9 deletions

View file

@ -30,7 +30,7 @@
| `<` and `>` | Move the current window to the first and last window respectively |
| `.` and `,` | Move and swap the current window with the provided window number respectively |
| `$` and `#` | Rename the current session and window with the provided name respectively |
| `<Space>` and `<Ctrl><Space>` | Move to the previously selected window and pane respectively |
| `<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 |
@ -38,8 +38,8 @@
| `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 |
| (**copy mode**) `v`, `y` and `<Escape>` | Begin selection, copy selection and cancel **copy mode** respectively |
| `Alt-[0-9]` (no prefix) | Switch directly to the given window |
| `W` | Write scrollback buffer to file |
| `Alt-[0-9]` (no prefix) | Switch directly to the given window |
## Italics Support ##
@ -50,4 +50,5 @@ Tmux supports italics if your terminal does, but the terminfo files _screen_ and
* Written by Kevin MacMartin: [GitHub Projects](https://github.com/prurigro) | [Arch Linux AUR Packages](https://aur.archlinux.org/packages/?SeB=m&K=prurigro)
## License ##
This config and the bwrate script are released under the MIT license.

View file

@ -91,9 +91,9 @@ bind , command-prompt "swap-window -t '%%'"
# $ and # to rename the session and current window respectively ($ is set by default)
bind "#" command-prompt -I '#W' "rename-window '%%'"
#
# Space and <ctrl>Space to navigating to the previously selected pane and window respectively
bind Space last-pane
bind C-Space last-window
# Space and <ctrl>Space to navigating to the previously selected window and pane respectively
bind Space last-window
bind C-Space last-pane
#
# rebind up,down,left,right to the same without repeat
bind Left select-pane -L

View file

@ -91,9 +91,9 @@ bind , command-prompt "swap-window -t '%%'"
# $ and # to rename the session and current window respectively ($ is set by default)
bind "#" command-prompt -I '#W' "rename-window '%%'"
#
# Space and <ctrl>Space to navigating to the previously selected pane and window respectively
bind Space last-pane
bind C-Space last-window
# Space and <ctrl>Space to navigating to the previously selected window and pane respectively
bind Space last-window
bind C-Space last-pane
#
# rebind up,down,left,right to the same without repeat
bind Left select-pane -L