Update mappings.lua

Now you can toggle terminal in terminal
navigator
Yura Shatunov 2 years ago committed by siduck
parent 970ddf79e5
commit 0369a8ad77

@ -243,9 +243,32 @@ M.telescope = {
}
M.nvterm = {
t = {
-- toggle in terminal mode
["<A-i>"] = {
function()
require("nvterm.terminal").toggle "float"
end,
" toggle floating term",
},
["<A-h>"] = {
function()
require("nvterm.terminal").toggle "horizontal"
end,
" toggle horizontal term",
},
["<A-v>"] = {
function()
require("nvterm.terminal").toggle "vertical"
end,
" toggle vertical term",
},
},
n = {
-- toggle
-- toggle in normal mode
["<A-i>"] = {
function()
require("nvterm.terminal").toggle "float"

Loading…
Cancel
Save