From 7e37a12b06b0d94274bc409824e8e6f4354b690e Mon Sep 17 00:00:00 2001 From: Michael Paulson Date: Fri, 1 Dec 2023 14:25:03 -0700 Subject: [PATCH] feat: readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 964ea7b..a7e6f89 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ * [The Solutions](#-The-Solutions) * [Installation](#-Installation) * [Getting Started](#-Getting-Started) +* [API](#-API) + * [Config](#config) + * [Settings](#settings) * [Social](#-Social) * [Note to legacy Harpoon 1 users](#-Note-to-legacy-Harpoon-1-users) @@ -71,7 +74,7 @@ vim.keymap.set("n", "", function() harpoon:list():select(3) end) vim.keymap.set("n", "", function() harpoon:list():select(4) end) ``` -### Custom Lists +## ⇁ API You can define custom behavior of a harpoon list by providing your own calls. Here is a simple example where i create a list named `cmd` that takes the