mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-10 09:24:37 +02:00
refactor(keymaps)!: terminal keymaps are now under <leader>ft
and <leader>fT
This commit is contained in:
parent
23476f1d3c
commit
0cfc15e739
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ if vim.fn.has("nvim-0.9.0") == 1 then
|
||||||
end
|
end
|
||||||
|
|
||||||
-- floating terminal
|
-- floating terminal
|
||||||
vim.keymap.set("n", "<leader>ot", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
|
vim.keymap.set("n", "<leader>ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
|
||||||
vim.keymap.set("n", "<leader>oT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" })
|
vim.keymap.set("n", "<leader>fT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" })
|
||||||
vim.keymap.set("t", "<esc><esc>", "<c-\\><c-n>", {desc = "Enter Normal Mode"})
|
vim.keymap.set("t", "<esc><esc>", "<c-\\><c-n>", {desc = "Enter Normal Mode"})
|
||||||
|
|
||||||
-- windows
|
-- windows
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue