move open terminal to C-Enter

main
Zynh0722 2023-04-18 09:30:10 -07:00
parent 5e20c07e19
commit 4f83122f31
1 changed files with 1 additions and 1 deletions

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)