Closed pExeen closed 7 years ago
You should be able to paste with Shift+Insert
I have to tap on shift to get insert. Can I change the shortcut ?
Can I change the shortcut ?
Currently, not here (you could fork and tweak the config.h file). The X11 paste is S-Insert
but there also M-S-c
and M-S-v
(alt-shift) for copy/paste.
Ok thanks :)
If you are on zsh
, you could do something like this:
# Copy(C-S-C) and Paste(C-S-V) functionality for `st`
x-kill-region () {
zle kill-region
print -rn $CUTBUFFER | xsel -i -b
}
zle -N x-kill-region
x-yank () {
CUTBUFFER=$(xsel -o -b </dev/null)
zle yank
}
zle -N x-yank
bindkey -e '^X' x-kill-region
bindkey -e '^V' x-yank
So I didn't know how to use the clipboard patch so i looked inside of the diff and found that to copy out of the terminal you use ctrl+t. But can I past or not because it is the only reason I sometimes have to use urxvt. Thanks :)