move open terminal to C-Enter

This commit is contained in:
Zynh0722 2023-04-18 09:30:10 -07:00
parent 5e20c07e19
commit 4f83122f31

View file

@ -51,7 +51,7 @@ vim.keymap.set("t", "<C-j>", "<C-w>j")
vim.keymap.set("t", "<C-k>", "<C-w>k") vim.keymap.set("t", "<C-k>", "<C-w>k")
vim.keymap.set("t", "<C-l>", "<C-w>l") vim.keymap.set("t", "<C-l>", "<C-w>l")
vim.keymap.set("n", "<C-z>", function() vim.keymap.set("n", "<C-Enter>", function()
vim.cmd.vsplit() vim.cmd.vsplit()
vim.cmd.terminal() vim.cmd.terminal()
end) end)