tmux: better pasting from buffers
This commit is contained in:
parent
68cdd1884b
commit
4c72ec68c6
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ set -g prefix C-space
|
||||||
bind C-space send-prefix
|
bind C-space send-prefix
|
||||||
bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"\; display "RELOADED"
|
bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"\; display "RELOADED"
|
||||||
bind v copy-mode
|
bind v copy-mode
|
||||||
bind p paste-buffer
|
bind P choose-buffer "paste-buffer -b '%%' -s ''"
|
||||||
|
bind p paste-buffer -s ''
|
||||||
bind C command-prompt -p 'Save pane history:' \
|
bind C command-prompt -p 'Save pane history:' \
|
||||||
-I '~/tmux.history' \
|
-I '~/tmux.history' \
|
||||||
'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
|
'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
|
||||||
|
|
Loading…
Add table
Reference in a new issue