diff options
author | Marc Coquand <marc@mccd.space> | 2024-06-25 11:28:53 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-06-25 11:28:53 -0500 |
commit | 97ce8456231b997135be6c5f1afaee08eff2cbb1 (patch) | |
tree | 32f7059aad1b6f9e69c37dd5a5b963037d9b7a06 /config/kak | |
parent | 220906303fe6a69760514d2dcf49e5abfa079657 (diff) | |
download | rcm-97ce8456231b997135be6c5f1afaee08eff2cbb1.tar.gz rcm-97ce8456231b997135be6c5f1afaee08eff2cbb1.tar.bz2 rcm-97ce8456231b997135be6c5f1afaee08eff2cbb1.zip |
Updates
Diffstat (limited to '')
-rw-r--r-- | config/kak/kakrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/kak/kakrc b/config/kak/kakrc index 02213b7..04d11b1 100644 --- a/config/kak/kakrc +++ b/config/kak/kakrc @@ -18,7 +18,7 @@ hook global WinSetOption filetype=(rust|python|nim|go|javascript|typescript|c|cp hook global WinSetOption filetype=(eml|markdown|org) %{ spell } -hook global BufSetOption filetype=(javascript|typescript) %{ +hook global BufSetOption filetype=(javascript|typescript|html) %{ set-option buffer formatcmd "prettier --stdin-filepath=%val{buffile}" hook buffer BufWritePre .* %{format} } @@ -178,7 +178,7 @@ hook global WinCreate .* %{ evaluate-commands %sh{ hook global RegisterModified '"' %{ nop %sh{ case $(uname) in Linux) - echo "$kak_main_reg_dquote" | xclip -selection clipboard -i > /dev/null 2>&1 & ;; + wl-copy -n "$kak_main_reg_dquote" > /dev/null 2>&1 & ;; Darwin) printf "%s" "$kak_main_reg_dquote" | pbcopy ;; esac @@ -262,3 +262,6 @@ let open HTML in | Error e -> Components.Errors.handle log e }; phantom-selection-add-selection ; phantom-selection-iterate-next } } + +# TAGS + |