From 454df99ff395d3c358ad19935b5de2b5ec4ff6e5 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 5 Jan 2023 17:56:54 +0100 Subject: [PATCH] feat(terminal): double escape to enter normal mode --- lua/lazyvim/config/keymaps.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index ebce0e25..31cfbd4c 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -91,6 +91,7 @@ end -- floating terminal vim.keymap.set("n", "ot", function() util.float_term(nil, { cwd = util.get_root() }) end, { desc = "Terminal (root dir)" }) vim.keymap.set("n", "oT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" }) +vim.keymap.set("t", "", "", {desc = "Enter Normal Mode"}) -- windows vim.keymap.set("n", "ww", "p", { desc = "other-window" })