From c9850d115530447c296d771bbb58f9a4216f6a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 14 Jan 2024 01:18:32 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20add=20arrow=20extra?= =?UTF-8?q?=20(harpoon=20with=20better=20ui)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nvim/lua/plugins/extras/editor/arrow.lua | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .config/nvim/lua/plugins/extras/editor/arrow.lua diff --git a/.config/nvim/lua/plugins/extras/editor/arrow.lua b/.config/nvim/lua/plugins/extras/editor/arrow.lua new file mode 100644 index 00000000..02af92c4 --- /dev/null +++ b/.config/nvim/lua/plugins/extras/editor/arrow.lua @@ -0,0 +1,24 @@ +return { + { + "otavioschwanck/arrow.nvim", + event = "VeryLazy", + opts = { + show_icons = true, + }, + keys = { + { + "h", + function() + require("arrow.ui").openMenu() + end, + desc = "Harpoon", + }, + }, + }, + { + "nvim-lualine/lualine.nvim", + opts = function(_, opts) + table.insert(opts.sections.lualine_c, require("arrow.statusline").text_for_statusline_with_icons()) + end, + }, +}