add-highlighter global/ number-lines addhl global/ wrap -word set -add global ui_options terminal_assistant=none set -add global ui_options terminal_status_on_top=true set global indentwidth 0 set global tabstop 4 hook global WinSetOption filetype=python %{ set window indentwidth 4 hook -once -always window WinSetOption filetype=.* %{ set window indentwidth 0 } } map global user ':comment-line' -docstring 'comment line' # map global user 'wl-copy' -docstring 'wl-copy' add-highlighter global/longline column 70 ,rgb:333333 evaluate-commands %sh{ copy='printf "\033]52;;%s\033\\" $(base64 | tr -d "\n") > $( [ -n "$kak_client_pid" ] && echo /proc/$kak_client_pid/fd/0 || echo /dev/tty )' backend='OSC 52' printf "map global user -docstring 'yank to primary' y '%s:echo -markup %%{{Information}copied selection to %s primary}'\n" "$copy" "$backend" } alias global Wq write-quit