kak: name clipboard sync hook
This commit is contained in:
parent
4f54c31dc5
commit
30ea33079a
|
@ -47,7 +47,7 @@ hook global BufOpenFile .*/COMMIT_EDITMSG %{
|
||||||
hook global RegisterModified '"' %{ nop %sh{ {
|
hook global RegisterModified '"' %{ nop %sh{ {
|
||||||
printf %s "$kak_reg_dquote" | wl-copy -n
|
printf %s "$kak_reg_dquote" | wl-copy -n
|
||||||
printf %s "$kak_reg_dquote" | xclip -i -selection clipboard
|
printf %s "$kak_reg_dquote" | xclip -i -selection clipboard
|
||||||
} > /dev/null 2>&1 < /dev/null & }}
|
} > /dev/null 2>&1 < /dev/null & }} -group sync-clipboard
|
||||||
|
|
||||||
# Trim trailing whitespace
|
# Trim trailing whitespace
|
||||||
hook global BufWritePre .* %{ try %{
|
hook global BufWritePre .* %{ try %{
|
||||||
|
|
Loading…
Reference in a new issue