From 6dc7c2515f2cbd1311e4fb63a835dc06ff94a262 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:35:07 +0400 Subject: [PATCH] fix --- config/nvim/lua/core/keymaps.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nvim/lua/core/keymaps.lua b/config/nvim/lua/core/keymaps.lua index 3d4746e5..7ebf158e 100644 --- a/config/nvim/lua/core/keymaps.lua +++ b/config/nvim/lua/core/keymaps.lua @@ -49,7 +49,8 @@ vim.keymap.set("n", "nsh", ":split", opts) -- terminal --vim.keymap.set("n", "t", ":split :terminal") -vim.keymap.set("n", "t", ":FloatermToggle --height=25 --width=100") +vim.keymap.set("n", "t", ":FloatermToggle") +vim.keymap.set("n", "nt", ":FloatermNew --height=25 --width --100") vim.keymap.set("n", "g", ":FloatermNew --height=29 --width=120 lazygit") -- exit terminal with esc