better term maps
This commit is contained in:
parent
1e97e6b64e
commit
47b0255209
|
@ -225,45 +225,89 @@ M.toggleterm = {
|
|||
plugin = true,
|
||||
n = {
|
||||
["<F12>"] = {
|
||||
"<cmd>ToggleTerm direction=float<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-i>"] = {
|
||||
"<cmd>ToggleTerm direction=float<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-t>"] = {
|
||||
"<cmd>ToggleTerm direction=tab<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-h>"] = {
|
||||
"<cmd>ToggleTerm direction=horizontal<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<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",
|
||||
},
|
||||
},
|
||||
t = {
|
||||
["<F12>"] = {
|
||||
"<cmd>ToggleTerm direction=float<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-i>"] = {
|
||||
"<cmd>ToggleTerm direction=float<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=float\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-t>"] = {
|
||||
"<cmd>ToggleTerm direction=tab<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=tab\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<A-h>"] = {
|
||||
"<cmd>ToggleTerm direction=horizontal<cr>",
|
||||
"<cmd>exe v:count1 \"ToggleTerm direction=horizontal\"<cr>",
|
||||
"toggle terminal",
|
||||
},
|
||||
["<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",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue