diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 56fb2a1b..12101240 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -128,7 +128,14 @@ end -- floating terminal map("n", "ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" }) map("n", "fT", function() Util.float_term() end, { desc = "Terminal (cwd)" }) + +-- Terminal Mappings map("t", "", "", { desc = "Enter Normal Mode" }) +map("t", "", "wincmd h", { desc = "Go to left window"}) +map("t", "", "wincmd j", { desc = "Go to lower window"}) +map("t", "", "wincmd k", { desc = "Go to upper window"}) +map("t", "", "wincmd l", { desc = "Go to right window"}) +map('t', '', [[]], { desc = "Terminal Window Mappings"}) -- windows map("n", "ww", "p", { desc = "Other window", remap = true })