about summary refs log tree commit diff
path: root/.config/nvim/lua/plugins/fterm.lua
blob: dfc93757ea4398df6ee2261b80248a515da74685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
  "numToStr/FTerm.nvim",
  config = function()
    require("FTerm").setup({
      border = "bold",
      dimensions = {
        height = 0.9,
        width = 0.9,
      },
    })
    vim.keymap.set('n', '<A-i>', '<CMD>lua require("FTerm").toggle()<CR>')
    vim.keymap.set('t', '<A-i>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>')
  end,
}