wl-paste fix
This commit is contained in:
parent
0909b3afb7
commit
ee2ad8f08b
@ -189,8 +189,8 @@ bind -T copy-mode-vi Y send-keys -X copy-selection-and-cancel
|
||||
bind MouseDrag1Pane copy-mode
|
||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||
|
||||
bind -r p run-shell "wl-paste | tmux load-buffer -; tmux paste-buffer -p"
|
||||
bind -r з run-shell "wl-paste | tmux load-buffer -; tmux paste-buffer -p"
|
||||
bind -r p run-shell "wl-paste --no-newline --trim-newline | tmux load-buffer -; tmux paste-buffer -p"
|
||||
bind -r з run-shell "wl-paste --no-newline --trim-newline | tmux load-buffer -; tmux paste-buffer -p"
|
||||
bind -r P paste-buffer -p
|
||||
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ alias pastewww='paste.thek4n.ru'
|
||||
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
||||
if [ -n "${DISPLAY}" ]; then
|
||||
alias _copy='sed -z "$ s/\n$//" | wl-copy'
|
||||
alias pasta='wl-paste'
|
||||
alias pasta='wl-paste --no-newline --trim-newline'
|
||||
else
|
||||
alias _copy='read -rd "EOF" TTYCLIPBOARD'
|
||||
alias pasta='echo "$TTYCLIPBOARD"'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user