mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 12:51:45 +00:00
use builtin LazyVim.terminal instead
This commit is contained in:
parent
f89e199cfd
commit
82e70e57fe
@ -13,7 +13,9 @@ vim.keymap.set("n", "<leader>q", vim.diagnostic.setqflist, { desc = "Open diagno
|
||||
vim.keymap.del("n", "<C-/>")
|
||||
vim.keymap.del("n", "<leader>ft")
|
||||
vim.keymap.del("n", "<leader>fT")
|
||||
vim.keymap.set({ "n", "v" }, "<leader>to", "<cmd>term<cr>", { desc = "[T]erminal [O]pen" })
|
||||
vim.keymap.set({ "n", "v" }, "<leader>to", function()
|
||||
LazyVim.terminal()
|
||||
end, { desc = "[T]erminal [O]pen" })
|
||||
|
||||
-- Disable arrow keys in normal mode
|
||||
vim.keymap.set({ "n", "v" }, "<left>", '<cmd>echo "Use h to move!!"<CR>')
|
||||
|
Loading…
Reference in New Issue
Block a user