This commit is contained in:
Sakooooo 2024-04-03 21:49:47 +00:00
parent 58dfed62f5
commit 6fd65fab7e

View file

@ -51,7 +51,9 @@ vim.keymap.set("n", "nsh", ":split<CR>", opts)
--vim.keymap.set("n", "<leader>t", ":split<CR> <BAR> :terminal<CR>")
vim.keymap.set("n", "<leader>t", ":FloatermToggle<CR>")
vim.keymap.set("n", "<leader>nt", ":FloatermNew --height=25 --width --100<CR>")
vim.keymap.set("n", "<leader>g", ":FloatermNew --height=29 --width=120 lazygit<CR>")
-- git client
vim.keymap.set("n", "<leader>gs", ":Neogit")
-- exit terminal with esc
vim.keymap.set("t", "<Esc>", "<C-\\><C-n>", opts)