Add floating terminal plugin to lua
This commit is contained in:
parent
9a49ecbff3
commit
607d376d27
10
nvim/after/plugin/fterm.lua
Normal file
10
nvim/after/plugin/fterm.lua
Normal 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)
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user