mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-12-27 11:04:34 -05:00
Added the ability to save scrollback with <prefix>W
This commit is contained in:
parent
c9acb9d348
commit
0d9d10eaeb
3 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
* `y` and `Ctrl-p`: Enter __copy mode__ and paste from the copy buffer 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.
|
||||
|
||||
## Italics Support ##
|
||||
|
||||
|
|
|
@ -127,6 +127,9 @@ bind -n M-7 select-window -t 7
|
|||
bind -n M-8 select-window -t 8
|
||||
bind -n M-9 select-window -t 9
|
||||
bind -n M-0 select-window -t 10
|
||||
#
|
||||
# save scrollback to file
|
||||
bind-key W command-prompt -p 'write scrollback to file:' -I '~/tmux-history.txt' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
|
||||
|
||||
# STATUS LINE
|
||||
#
|
||||
|
|
|
@ -127,6 +127,9 @@ bind -n M-7 select-window -t 7
|
|||
bind -n M-8 select-window -t 8
|
||||
bind -n M-9 select-window -t 9
|
||||
bind -n M-0 select-window -t 10
|
||||
#
|
||||
# save scrollback to file
|
||||
bind-key W command-prompt -p 'write scrollback to file:' -I '~/tmux-history.txt' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
|
||||
|
||||
# STATUS LINE
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue