mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-15 05:23:50 +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", "<C-/>")
|
||||||
vim.keymap.del("n", "<leader>ft")
|
vim.keymap.del("n", "<leader>ft")
|
||||||
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
|
-- Disable arrow keys in normal mode
|
||||||
vim.keymap.set({ "n", "v" }, "<left>", '<cmd>echo "Use h to move!!"<CR>')
|
vim.keymap.set({ "n", "v" }, "<left>", '<cmd>echo "Use h to move!!"<CR>')
|
||||||
|
Loading…
Reference in New Issue
Block a user