source "%val{config}/plugins/plug.kak/rc/plug.kak" plug "andreyorst/plug.kak" noload eval %sh{ kks init } plug "tinted-theming/base16-kakoune" theme config %{ colorscheme solarized-dark } map global normal -docstring 'files' ': kks-connect terminal-window kks-files' map global normal -docstring 'buffers' ': kks-connect terminal-window kks-buffers' map global normal ': terminal-popup char_count.rb %val{selection}' map global normal / '/(?i)' # hook global ModeChange .*:insert:.* %{ try %{ # write # } } # # hook global NormalIdle .* %{ try %{ # write # } } # # hook global FocusOut .* %{ try %{ # write # } } hook global InsertChar \t %{ exec -draft -itersel h@ } set global tabstop 2 set global indentwidth 2 set global scrolloff 6,12 add-highlighter global/ wrap add-highlighter global/ number-lines add-highlighter global/ show-matching