mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-16 01:01:34 +00:00
update terminal mapping
This commit is contained in:
@ -8,8 +8,6 @@ nomap("n", "<leader>x")
|
||||
nomap("n", "<leader>n")
|
||||
nomap("n", "<leader>rn")
|
||||
nomap("n", "<leader>b")
|
||||
nomap("n", "<leader>h")
|
||||
nomap("n", "<leader>v")
|
||||
nomap("n", "<C-c>")
|
||||
nomap("n", "<C-n>")
|
||||
|
||||
@ -93,12 +91,6 @@ end, { desc = "Hop motion search words after cursor" })
|
||||
map("n", "<leader>tf", "<cmd> FormatToggle <cr>", { desc = "Re-enable autoformat-on-save" })
|
||||
|
||||
--term
|
||||
map({ "n", "t" }, "<leader>h", function()
|
||||
require("nvchad.term").toggle { pos = "sp", id = "htoggleTerm" }
|
||||
end, { desc = "terminal new horizontal term" })
|
||||
map({ "n", "t" }, "<leader>v", function()
|
||||
require("nvchad.term").toggle { pos = "vsp", id = "vtoggleTerm" }
|
||||
end, { desc = "terminal toggleable vertical term" })
|
||||
map({ "n", "t" }, "<A-u>", function()
|
||||
require("nvchad.term").toggle({ pos = "vsp", id = "vtoggleTerm", size = 0.4 })
|
||||
end, { desc = "Terminal Toggleable vertical term" })
|
||||
|
Reference in New Issue
Block a user