source "%val{config}/plugins/plug.kak/rc/plug.kak" plug "andreyorst/plug.kak" noload set-option global tabstop 4 set-option global indentwidth 0 set-option global autoreload true add-highlighter global/ column 80 default,rgb:404040 add-highlighter global/ column 120 default,rgb:404040 add-highlighter global/ number-lines -min-digits 3 map global normal ': comment-line ' map global user y ' xclip -i -selection clipboard ' -docstring 'yank to system clipboard' map global user f '| par -w80 ' -docstring 'reformat selection with external tool' map global user l %{: enter-user-mode lsp } -docstring 'LSP mode' eval %sh{kak-lsp --kakoune -s $kak_session} hook global BufCreate .*\.tex %{ set-option buffer filetype latex } hook global WinSetOption filetype=(latex|c|cpp) %{ lsp-enable-window }