mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-11-23 07:34:10 -05:00
Swap ctrl-space and space for last pane and window (ctrl is now for window)
This commit is contained in:
parent
5aa5d6dde0
commit
c45becdd5c
3 changed files with 10 additions and 9 deletions
|
@ -30,7 +30,7 @@
|
||||||
| `<` and `>` | Move the current window to the first and last window respectively |
|
| `<` 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 `,` | Move and swap the current window with the provided window number respectively |
|
||||||
| `$` and `#` | Rename the current session and window with the provided name 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 |
|
| `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 |
|
| `` ` `` | Toggle synchronized input between the panes on the current window |
|
||||||
| `<Escape>` | Clear the terminal history, tmux history and the current window/pane |
|
| `<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 |
|
| `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 |
|
| `<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 |
|
| (**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 |
|
| `W` | Write scrollback buffer to file |
|
||||||
|
| `Alt-[0-9]` (no prefix) | Switch directly to the given window |
|
||||||
|
|
||||||
## Italics Support ##
|
## 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)
|
* Written by Kevin MacMartin: [GitHub Projects](https://github.com/prurigro) | [Arch Linux AUR Packages](https://aur.archlinux.org/packages/?SeB=m&K=prurigro)
|
||||||
|
|
||||||
## License ##
|
## License ##
|
||||||
|
|
||||||
This config and the bwrate script are released under the MIT license.
|
This config and the bwrate script are released under the MIT license.
|
||||||
|
|
|
@ -91,9 +91,9 @@ bind , command-prompt "swap-window -t '%%'"
|
||||||
# $ and # to rename the session and current window respectively ($ is set by default)
|
# $ and # to rename the session and current window respectively ($ is set by default)
|
||||||
bind "#" command-prompt -I '#W' "rename-window '%%'"
|
bind "#" command-prompt -I '#W' "rename-window '%%'"
|
||||||
#
|
#
|
||||||
# Space and <ctrl>Space to navigating to the previously selected pane and window respectively
|
# Space and <ctrl>Space to navigating to the previously selected window and pane respectively
|
||||||
bind Space last-pane
|
bind Space last-window
|
||||||
bind C-Space last-window
|
bind C-Space last-pane
|
||||||
#
|
#
|
||||||
# rebind up,down,left,right to the same without repeat
|
# rebind up,down,left,right to the same without repeat
|
||||||
bind Left select-pane -L
|
bind Left select-pane -L
|
||||||
|
|
|
@ -91,9 +91,9 @@ bind , command-prompt "swap-window -t '%%'"
|
||||||
# $ and # to rename the session and current window respectively ($ is set by default)
|
# $ and # to rename the session and current window respectively ($ is set by default)
|
||||||
bind "#" command-prompt -I '#W' "rename-window '%%'"
|
bind "#" command-prompt -I '#W' "rename-window '%%'"
|
||||||
#
|
#
|
||||||
# Space and <ctrl>Space to navigating to the previously selected pane and window respectively
|
# Space and <ctrl>Space to navigating to the previously selected window and pane respectively
|
||||||
bind Space last-pane
|
bind Space last-window
|
||||||
bind C-Space last-window
|
bind C-Space last-pane
|
||||||
#
|
#
|
||||||
# rebind up,down,left,right to the same without repeat
|
# rebind up,down,left,right to the same without repeat
|
||||||
bind Left select-pane -L
|
bind Left select-pane -L
|
||||||
|
|
Loading…
Reference in a new issue