feat(terminal): double escape to enter normal mode
This commit is contained in:
1 file changed
+1
@@ -91,6 +91,7 @@ end
|
||||
-- floating terminal
|
||||
vim.keymap.set("n", "<leader>ot", function() util.float_term(nil, { cwd = util.get_root() }) end, { desc = "Terminal (root dir)" })
|
||||
vim.keymap.set("n", "<leader>oT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" })
|
||||
vim.keymap.set("t", "<esc><esc>", "<c-\\><c-n>", {desc = "Enter Normal Mode"})
|
||||
|
||||
-- windows
|
||||
vim.keymap.set("n", "<leader>ww", "<C-W>p", { desc = "other-window" })
|
||||
|
||||
Reference in new issue
Block a user