blob: 55fac0f28c6cfc3860e555dd02b751e5ba75d3d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require'FTerm'.setup({
border = 'double',
dimensions = {
height = 0.8,
width = 0.8,
},
})
-- Example keybindings
vim.keymap.set('n', '<C-p>', '<CMD>lua require("FTerm").toggle()<CR>')
vim.keymap.set('t', '<C-p>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>')
vim.keymap.set('t', '<C-x>', '<C-\\><C-n><CMD>lua require("FTerm").exit()<CR>')
|