diff options
Diffstat (limited to 'config/kak/kakrc')
-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 + |