Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

topisani/cork.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Archived ⚠️

I recommend using https://github.com/jdugan6240/kak-bundle instead, as it does everything cork does but better and more. Translating your config should be fairly easy

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.