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/plug.kak

27 lines
553 B
Plaintext

# {{@@ header() @@}}
source "%val{config}/plugins/plug.kak/rc/plug.kak"
{%@@ for p in [ 'prelude', 'auto-pairs', ] @@%}
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"
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>"