From ad89244d3cd16684ffbc882d67578484222e44dd Mon Sep 17 00:00:00 2001 From: ant Date: Wed, 4 Jun 2025 18:46:38 +0200 Subject: [PATCH] add ourobouros to jump between header/source --- lua/mappings.lua | 1 + lua/plugins.lua | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/lua/mappings.lua b/lua/mappings.lua index 5483499..9ee2aa2 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -30,6 +30,7 @@ s('n', 'ft', MiniFiles.open, { desc = "Open file tree" }) s('n', 'N', " Neogit ", { desc = "Open Neogit" }) -- s('x', 'p', 'p:let @+=@0:let @"=@0') s('x', 'p', 'P') +s('n', 'gh', ":Ouroboros", { desc = "Go to header/implementation" }) -- Luasnip local ls = require("luasnip") diff --git a/lua/plugins.lua b/lua/plugins.lua index 76efa31..14286f4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -536,6 +536,10 @@ local plugins = { } end }, + { + 'jakemason/ouroboros', + dependencies = { "nvim-lua/plenary.nvim" } + }, } return plugins