Skip to content

kkga/cork.kak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.0%
  • Makefile 2.0%