add toggleterm-style mapping for snacks.terminal
This commit is contained in:
@@ -1315,6 +1315,17 @@ M.smearcursor = function()
|
|||||||
})
|
})
|
||||||
:map('<leader>uW')
|
:map('<leader>uW')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
M.snacksterm = {
|
||||||
|
-- { -- Toggle Terminal
|
||||||
|
-- lhs = '<C-/>',
|
||||||
|
-- rhs = function()
|
||||||
|
-- require('snacks.terminal').toggle()
|
||||||
|
-- end,
|
||||||
|
-- desc = 'Toggle Terminal',
|
||||||
|
-- },
|
||||||
|
}
|
||||||
|
|
||||||
M.splitjoin = {
|
M.splitjoin = {
|
||||||
toggle = 'gJ',
|
toggle = 'gJ',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user