my-configs/kak/kakrc
2025-02-20 00:04:47 -07:00

34 lines
912 B
Plaintext

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' <c-f> ': kks-connect terminal-window kks-files<ret>'
map global normal -docstring 'buffers' <c-b> ': kks-connect terminal-window kks-buffers<ret>'
map global normal <c-d> ': terminal-popup char_count.rb %val{selection}<ret>'
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