Add floating terminal plugin to lua
This commit is contained in:
		
							
								
								
									
										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('theprimeagen/harpoon')
 | 
				
			||||||
    use('mbbill/undotree')
 | 
					    use('mbbill/undotree')
 | 
				
			||||||
    use('tpope/vim-fugitive')
 | 
					    use('tpope/vim-fugitive')
 | 
				
			||||||
 | 
					    use("numToStr/FTerm.nvim")
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    -- Bracket Autocompletion
 | 
					    -- Bracket Autocompletion
 | 
				
			||||||
    use {
 | 
					    use {
 | 
				
			||||||
@@ -32,6 +33,7 @@ return require('packer').startup(function(use)
 | 
				
			|||||||
        config = function() require('nvim-autopairs').setup {} end
 | 
					        config = function() require('nvim-autopairs').setup {} end
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    -- LSP
 | 
				
			||||||
    use {
 | 
					    use {
 | 
				
			||||||
        'VonHeikemen/lsp-zero.nvim',
 | 
					        'VonHeikemen/lsp-zero.nvim',
 | 
				
			||||||
        branch = 'v1.x',
 | 
					        branch = 'v1.x',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user