From b37f5e3abdc475108080cd5b301fd95466807fa5 Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Mon, 9 Sep 2024 21:27:42 -0700 Subject: [PATCH] feat: remove quit keybinds for terminal mode This was causing me so much grief while using `lazygit` within neovim. --- lua/keybinds.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lua/keybinds.lua b/lua/keybinds.lua index c89b74d..9ebff2f 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -18,10 +18,6 @@ vim.keymap.set("x", "p", '"_dP', { desc = "Paste without replacing clipb vim.keymap.set("n", "y", '"*y', { desc = "Yank into system clipboard" }) vim.keymap.set("v", "y", '"*y', { desc = "Yank into system clipboard" }) -vim.keymap.set("i", "jk", "", { desc = "Exit insert mode" }) - -vim.keymap.set("t", "", "", { desc = "Exit insert mode (Terminal)" }) -vim.keymap.set("t", "jk", "", { desc = "Exit insert mode (Terminal)" }) vim.keymap.set("t", "", "wincmd h", { desc = "Go to split on left (Terminal)" }) vim.keymap.set("t", "", "wincmd j", { desc = "Go to split above (Terminal)" }) vim.keymap.set("t", "", "wincmd k", { desc = "Go to split below (Terminal)" })