Add floating terminal plugin to lua

This commit is contained in:
Luke Else 2023-03-16 19:41:22 +00:00
parent 9a49ecbff3
commit 607d376d27
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
local fterm = require('FTerm').setup({
border = 'double',
dimensions = {
height = 0.9,
width = 0.9,
},
})
vim.keymap.set('n', '<F8>', function() fterm.toggle() end)
vim.keymap.set('i', '<F8>', function() fterm.toggle() end)

View File

@ -25,6 +25,7 @@ return require('packer').startup(function(use)
use('theprimeagen/harpoon')
use('mbbill/undotree')
use('tpope/vim-fugitive')
use("numToStr/FTerm.nvim")
-- Bracket Autocompletion
use {
@ -32,6 +33,7 @@ return require('packer').startup(function(use)
config = function() require('nvim-autopairs').setup {} end
}
-- LSP
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v1.x',