From 08a64a10c4ea3486f12049ae43d76a4906476985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Mon, 4 May 2026 20:57:38 +0200 Subject: [PATCH] kakoune: use kak-bundle --- kakoune/.config/kak/kakrc | 51 +++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc index 23eed8b..cf192fc 100644 --- a/kakoune/.config/kak/kakrc +++ b/kakoune/.config/kak/kakrc @@ -65,42 +65,47 @@ map global object t 'lsp-object Class Interface Module Namespace St map global object d 'lsp-diagnostic-object error warning' -docstring 'LSP errors and warnings' map global object D 'lsp-diagnostic-object error' -docstring 'LSP errors' -# PLUGINS +# BUNDLE -source "%val{config}/plugins/plug.kak/rc/plug.kak" +source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak" +bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle -plug-chain "andreyorst/plug.kak" noload %{ - # noload to avoid removing by plug-clean -} plug "https://codeberg.org/raiguard/kak-one" theme config %{ - # COLORSCHEME - colorscheme 'one-darker' -} plug "andreyorst/fzf.kak" config %{ - # FZF +# COLORSCHEME + +bundle-theme kak-one "https://codeberg.org/raiguard/kak-one" +colorscheme 'one-darker' + +bundle-theme kakoune-themes "https://codeberg.org/anhsirk0/kakoune-themes" + +# FZF + +bundle fzf.kak "https://github.com/andreyorst/fzf.kak" %{ map global normal ': fzf-mode' -} plug "h-youhei/kakoune-surround" config %{ - # SURROUND +} + +# SURROUND + +bundle kakoune-surround "h-youhei/kakoune-surround" %{ declare-user-mode surround map global surround s ': surround' -docstring 'surround' map global surround c ': change-surround' -docstring 'change' map global surround d ': delete-surround' -docstring 'delete' map global surround t ': select-surrounding-tag' -docstring 'select tag' map global -docstring 'Surround' user 'S' ': enter-user-mode surround' -} plug "https://codeberg.org/raiguard/kak-harpoon" config %{ - # HARPOON +} + +# HARPOON + +bundle kak-harpoon "https://codeberg.org/raiguard/kak-harpoon" %{ harpoon-add-bindings -} plug https://git.sr.ht/~voroskoi/easymotion.kak config %{ - # EASYMOTION +} + +# EASYMOTION + +bundle easymotion.kak https://git.sr.ht/~voroskoi/easymotion.kak %{ require-module easymotion map global -docstring 'easy j' user ': easymotion-j' map global -docstring 'easy k' user ': easymotion-k' map global -docstring 'easy w' user ': easymotion-w' map global -docstring 'easy b'user ': easymotion-b' } - -# FZF recent - -hook global BufCreate [^*].* %{ - nop %sh{ - mru=~/.cache/kak-mru - echo "$kak_buffile" | awk '!seen[$0]++' - "$mru" | sponge "$mru" -}}