This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/kak/rc/plug.kak

29 lines
621 B
Plaintext

# {{@@ header() @@}}
source "%val{config}/plugins/plug.kak/rc/plug.kak"
{%@@ for p in [ 'prelude', 'auto-pairs', 'manual-indent' ] @@%}
plug 'alexherbo2/{{@@ p @@}}.kak'
require-module '{{@@ p @@}}'
{%@@ endfor @@%}
auto-pairs-enable
plug 'h-youhei/kakoune-surround'
plug 'delapouite/kakoune-palette'
plug 'insipx/kak-crosshairs'
plug "kak-lsp/kak-lsp" do %{
cargo install --locked --force --path .
}
def -hidden complete-snippets %{
try %{
lsp-snippets-select-next-placeholders
# exec '<a-;>d'
} catch %{
exec -with-hooks '<c-n>'
}
}
map global insert <c-e> "<a-;>: complete-snippets<ret>"