This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/kak/kakrc
2020-06-17 17:11:24 -05:00

23 lines
504 B
Text

source "%val{config}/plugins/plug.kak/rc/plug.kak"
plug "andreyorst/fzf.kak"
map global normal <c-p> ': fzf-mode<ret>'
map global normal D '<a-l>d' -docstring 'delete to end of line'
map global normal Y '<a-l>y' -docstring 'yank to end of line'
hook global InsertChar k %{ try %{
exec -draft hh <a-k>jk<ret> d
exec <esc>
}}
hook global InsertChar j %{ try %{
exec -draft hh <a-k>jj<ret> d
exec <esc>
}}
set global tabstop 2
set global indentwidth 2
set-option global fzf_file_command 'rg'