Update init.lua

This commit is contained in:
DarthMooMancer
2025-03-04 14:34:46 -05:00
parent cad2619997
commit fd49d44a82
+1 -1
View File
@@ -62,7 +62,7 @@ local function open_float_terminal(cmd)
vim.cmd("startinsert")
-- Keymaps: ESC to exit Terminal mode, <C-q> to close the floating terminal
vim.api.nvim_buf_set_keymap(buf, "t", "<Esc>", "<C-\\><C-n>", { noremap = true, silent = true })
-- vim.api.nvim_buf_set_keymap(buf, "t", "<Esc>", "<C-\\><C-n>", { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(buf, "t", "<C-q>", "<C-\\><C-n>:q<CR>", { noremap = true, silent = true })
return buf, win