kak: copy all selections to clipboard

This commit is contained in:
lelgenio 2022-05-03 14:15:30 -03:00
parent 5ed4dc9648
commit 6fd08dab40
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ hook global BufOpenFile .*/COMMIT_EDITMSG %{
}
hook global RegisterModified '"' %{ nop %sh{ {
printf %s "$kak_main_reg_dquote" | wl-copy -n
printf %s "$kak_main_reg_dquote" | xclip -i -selection clipboard
printf %s "$kak_reg_dquote" | wl-copy -n
printf %s "$kak_reg_dquote" | xclip -i -selection clipboard
} > /dev/null 2>&1 < /dev/null & }}
# Trim trailing whitespace