This commit is contained in:
Daniel Flanagan 2020-06-17 17:11:24 -05:00
parent 726a5d0538
commit f74e71ac18
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
4 changed files with 30 additions and 0 deletions

1
apps/kak/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
plugins

23
apps/kak/kakrc Normal file
View File

@ -0,0 +1,23 @@
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'

3
apps/kak/setup-plugins.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
git clone https://github.com/andreyorst/plug.kak.git ~/.config/kak/plugins/plug.kak

View File

@ -74,6 +74,9 @@ links=(
# libinput configuration
"apps/de/libinput/gestures.conf" "$XDG_CONFIG_HOME/libinput-gestures.conf"
# kakoune editor configuration
"apps/kak/" "$XDG_CONFIG_HOME/kak"
# gpg config
"apps/gpg/agent.conf" "$HOME/.gnupg/gpg-agent.conf"