update toggleterm configuration
This commit is contained in:
		
							parent
							
								
									5f6af39664
								
							
						
					
					
						commit
						3ed6191021
					
				|  | @ -78,26 +78,6 @@ return { | |||
| 		}, | ||||
| 	}, | ||||
| 
 | ||||
| 	-- Toggleterm: multiple terminals | ||||
| 	{ 'akinsho/toggleterm.nvim', | ||||
| 		version = "*", | ||||
| 		config = function() | ||||
| 			require("toggleterm").setup { | ||||
| 				insert_mappings = true, -- whether or not the open mapping applies in insert mode | ||||
| 				size = 10, | ||||
| 				open_mapping = [[<F7>]], | ||||
| 				shading_factor = 2, | ||||
| 				direction = "float", | ||||
| 				float_opts = { | ||||
| 					border = "curved", | ||||
| 					highlights = { | ||||
| 						border = "Normal", | ||||
| 						background = "Normal", | ||||
| 					}, | ||||
| 				}, | ||||
| 			} | ||||
| 		end, | ||||
| 	}, | ||||
| 
 | ||||
| 	-- Markdown preview (attempt) | ||||
| 	{ | ||||
|  |  | |||
|  | @ -13,8 +13,8 @@ return { | |||
| 				terminal_mappings = true, -- whether or not the open mapping applies in the opened terminals | ||||
| 				persist_size = true, | ||||
| 				persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered | ||||
| 				direction = 'horizontal', | ||||
| 				close_on_exit = true, -- close the terminal window when the process exits | ||||
| 				direction = 'tab', | ||||
| 				close_on_exit = false, -- close the terminal window when the process exits | ||||
| 				shell = vim.o.shell, -- change the default shell | ||||
| 				auto_scroll = true, -- automatically scroll to the bottom on terminal output | ||||
| 				open_mapping = [[<F7>]], | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue