feat(nvim): add keybindings for splitting terms in Neovide
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 41s

This commit is contained in:
Price Hiller 2024-03-22 11:10:09 -05:00
parent 31945d82d0
commit 977c9f2c24
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -25,3 +25,7 @@ vim.keymap.set({ "", "!", "v", "t" }, "<D-z>", "<cmd>tabprevious<CR>", { noremap
-- Spawn new terminal in new tab -- Spawn new terminal in new tab
vim.keymap.set({ "", "!", "v", "t" }, "<D-t>", "<cmd>tabnew | terminal<CR>", { noremap = true, silent = true }) vim.keymap.set({ "", "!", "v", "t" }, "<D-t>", "<cmd>tabnew | terminal<CR>", { noremap = true, silent = true })
vim.keymap.set({ "n" }, "<C-S-Right>", "<cmd>vertical belowright terminal<CR>", { noremap = true, silent = true })
vim.keymap.set({ "n" }, "<C-S-Left>", "<cmd>vertical aboveleft terminal<CR>", { noremap = true, silent = true })
vim.keymap.set({ "n" }, "<C-S-Up>", "<cmd>horizontal aboveleft terminal<CR>", { noremap = true, silent = true })
vim.keymap.set({ "n" }, "<C-S-Down>", "<cmd>horizontal belowright terminal<CR>", { noremap = true, silent = true })