From 8ca7852b10d0ecbbd8da4e405dfe4a287f68bab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 27 May 2024 16:22:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20add=20lazygit=20log?= =?UTF-8?q?=20keymap=20to=20the=20floaterm=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua b/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua index 50d59848..ebd6e02c 100644 --- a/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua +++ b/.config/nvim/lua/plugins/extras/editor/terminal/floaterm.lua @@ -13,6 +13,7 @@ return { local git_path = vim.api.nvim_buf_get_name(0) vim.api.nvim_command("FloatermNew --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 lazygit -f " .. vim.trim(git_path)) end, desc = "File History (LazyGit)" }, + { "gl", "FloatermNew --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 lazygit log", desc = "File History (LazyGit)" }, { "", "FloatermNext", mode = { "t" }, desc = "Next Terminal" }, { "", "FloatermPrev", mode = { "t" }, desc = "Prev Terminal" }, { "", "FloatermLast", mode = { "t" }, desc = "Last Terminal" },