better term maps

This commit is contained in:
Christoph J. Scherr 2024-01-21 21:53:32 +01:00
parent 1e97e6b64e
commit 47b0255209
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 54 additions and 10 deletions

View File

@ -225,45 +225,89 @@ M.toggleterm = {
plugin = true, plugin = true,
n = { n = {
["<F12>"] = { ["<F12>"] = {
"<cmd>ToggleTerm direction=float<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-i>"] = { ["<A-i>"] = {
"<cmd>ToggleTerm direction=float<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-t>"] = { ["<A-t>"] = {
"<cmd>ToggleTerm direction=tab<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-h>"] = { ["<A-h>"] = {
"<cmd>ToggleTerm direction=horizontal<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-v>"] = { ["<A-v>"] = {
"<cmd>ToggleTerm direction=vertical<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=vertical\"<cr>",
"toggle terminal",
},
},
i = {
["<F12>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal",
},
["<A-i>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal",
},
["<A-t>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
"toggle terminal",
},
["<A-h>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
"toggle terminal",
},
["<A-v>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=vertical\"<cr>",
"toggle terminal", "toggle terminal",
}, },
}, },
t = { t = {
["<F12>"] = { ["<F12>"] = {
"<cmd>ToggleTerm direction=float<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-i>"] = { ["<A-i>"] = {
"<cmd>ToggleTerm direction=float<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-t>"] = { ["<A-t>"] = {
"<cmd>ToggleTerm direction=tab<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-h>"] = { ["<A-h>"] = {
"<cmd>ToggleTerm direction=horizontal<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
"toggle terminal", "toggle terminal",
}, },
["<A-v>"] = { ["<A-v>"] = {
"<cmd>ToggleTerm direction=vertical<cr>", "<cmd>exe v:count1 \"ToggleTerm direction=vertical\"<cr>",
"toggle terminal",
},
},
x = {
["<F12>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal",
},
["<A-i>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
"toggle terminal",
},
["<A-t>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
"toggle terminal",
},
["<A-h>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
"toggle terminal",
},
["<A-v>"] = {
"<cmd>exe v:count1 \"ToggleTerm direction=vertical\"<cr>",
"toggle terminal", "toggle terminal",
}, },
}, },