kkga / cork.kak

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORK.KAK

A fast git-based plugin manager for kakoune.

image

Setup

1. Install the cork script to your PATH

curl -o ~/.local/bin/cork https://raw.githubusercontent.com/topisani/cork.kak/master/cork.sh
chmod +x ~/.local/bin/cork

2. In the beginning of your kakrc, add

evaluate-commands %sh{
  cork init
}

3. Declare plugins in your kakrc using the cork command:

cork tmux https://github.com/alexherbo2/tmux.kak %{
  tmux-integration-enable
}

The first parameter is an arbitrary unique name for each plugin The second parameter is the location of the git repository The third parameter (usually a block) is optional, and contains code that will be run when the plugin is loaded.

4. Disable plugins in your kakrc using the nop command:

nop cork tmux https://github.com/alexherbo2/tmux.kak %{
  tmux-integration-enable
}

5. Install/update plugins

Call :cork-update from kakoune, or run cork update in terminal.

About

License:The Unlicense


Languages

Language:Shell 98.0%Language:Makefile 2.0%