From 0d082554f6b5ce665c56e2b23a05a4fe31938ef8 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 19 Aug 2022 20:08:10 +0200 Subject: [PATCH] fix toggleterm keybindings --- .config/nvim/lua/maps.lua | 6 ------ .config/nvim/lua/pluginconf/tterm.lua | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/nvim/lua/maps.lua b/.config/nvim/lua/maps.lua index e910e8d..0c0e9d8 100644 --- a/.config/nvim/lua/maps.lua +++ b/.config/nvim/lua/maps.lua @@ -7,12 +7,6 @@ map("t", "", "", {}) map("n", "ff", "Telescope find_files", { silent = true }) map("n", "fg", "Telescope live_grep", { silent = true }) --- neoterm.nvim -map("n", "tt", "NeotermToggle", { silent = true }) -map("n", "tr", ":NeotermRun", {}) -map("n", "te", "NeotermExit", { silent = true }) -map("n", "ta", "NeotermRerun", { silent = true }) - -- Quick cursor movement map("n", "", "5j", { noremap = true }) map("n", "", "5k", { noremap = true }) diff --git a/.config/nvim/lua/pluginconf/tterm.lua b/.config/nvim/lua/pluginconf/tterm.lua index f379f13..d84fdd1 100644 --- a/.config/nvim/lua/pluginconf/tterm.lua +++ b/.config/nvim/lua/pluginconf/tterm.lua @@ -2,6 +2,6 @@ local tterm = require "toggleterm" tterm.setup { size = 64, - open_mapping = [[tt]], + open_mapping = [[]], direction = "vertical", }