Changed the terminal shortcut to <leader>TT
This commit is contained in:
parent
6e86d63445
commit
010847cd73
|
@ -0,0 +1,8 @@
|
|||
--local builtin = require('vim-floaterm.builtin')
|
||||
|
||||
vim.keymap.set("n", "<leader>TS",
|
||||
"<cmd>:FloatermNew --height=0.3 --width=0.8 --wintype=float --name=floaterm1 --position=center --autoclose=2<CR>", { desc = "Open FloatTerm" })
|
||||
vim.keymap.set("n", "<leader>TT",
|
||||
"<cmd>:FloatermToggle<CR>", { desc = "Toggle FloatTerm" })
|
||||
vim.keymap.set("t", "<leader>TT",
|
||||
"<cmd>:FloatermToggle<CR>", { desc = "Toggle FloatTerm" })
|
|
@ -257,14 +257,6 @@ local plugins = {
|
|||
},
|
||||
{
|
||||
'voldikss/vim-floaterm',
|
||||
config = function()
|
||||
vim.keymap.set("n", "<leader>ft",
|
||||
"<cmd>:FloatermNew --height=0.3 --width=0.8 --wintype=float --name=floaterm1 --position=center --autoclose=2<CR>", { desc = "Open FloatTerm" })
|
||||
vim.keymap.set("n", "<leader>flt",
|
||||
"<cmd>:FloatermToggle<CR>", { desc = "Toggle FloatTerm" })
|
||||
vim.keymap.set("t", "<leader>flt",
|
||||
"<cmd>:FloatermToggle<CR>", { desc = "Toggle FloatTerm" })
|
||||
end
|
||||
},
|
||||
{
|
||||
'tummetott/unimpaired.nvim',
|
||||
|
|
Loading…
Reference in New Issue