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)
 | 
			
		||||
		Reference in New Issue
	
	Block a user