ajusted toggleterm keybinds.
This commit is contained in:
		
							parent
							
								
									5f5dc76261
								
							
						
					
					
						commit
						453993aee6
					
				
					 1 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
					@ -151,14 +151,14 @@ return require('packer').startup(function(use)
 | 
				
			||||||
		config = function()
 | 
							config = function()
 | 
				
			||||||
			require("trouble").setup {
 | 
								require("trouble").setup {
 | 
				
			||||||
				position = "bottom", -- position of the list can be: bottom, top, left, right
 | 
									position = "bottom", -- position of the list can be: bottom, top, left, right
 | 
				
			||||||
				height = 10, -- height of the trouble list when position is top or bottom
 | 
									height = 10,        -- height of the trouble list when position is top or bottom
 | 
				
			||||||
				width = 50, -- width of the list when position is left or right
 | 
									width = 50,         -- width of the list when position is left or right
 | 
				
			||||||
				icons = true, -- use devicons for filenames
 | 
									icons = true,       -- use devicons for filenames
 | 
				
			||||||
				mode = "workspace_diagnostics", -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
 | 
									mode = "workspace_diagnostics", -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
 | 
				
			||||||
				fold_open = "", -- icon used for open folds
 | 
									fold_open = "",  -- icon used for open folds
 | 
				
			||||||
				fold_closed = "", -- icon used for closed folds
 | 
									fold_closed = "", -- icon used for closed folds
 | 
				
			||||||
				group = true, -- group results by file
 | 
									group = true,       -- group results by file
 | 
				
			||||||
				padding = true, -- add an extra new line on top of the list
 | 
									padding = true,     -- add an extra new line on top of the list
 | 
				
			||||||
				action_keys = {
 | 
									action_keys = {
 | 
				
			||||||
					-- key mappings for actions in the trouble list
 | 
										-- key mappings for actions in the trouble list
 | 
				
			||||||
					-- map to {} to remove a mapping, for example:
 | 
										-- map to {} to remove a mapping, for example:
 | 
				
			||||||
| 
						 | 
					@ -366,6 +366,7 @@ return require('packer').startup(function(use)
 | 
				
			||||||
	use { "akinsho/toggleterm.nvim", tag = '*', config = function()
 | 
						use { "akinsho/toggleterm.nvim", tag = '*', config = function()
 | 
				
			||||||
		require("toggleterm").setup {
 | 
							require("toggleterm").setup {
 | 
				
			||||||
			insert_mappings = false,
 | 
								insert_mappings = false,
 | 
				
			||||||
 | 
								terminal_mappings = false,
 | 
				
			||||||
			open_mapping = [[<c-\>]],
 | 
								open_mapping = [[<c-\>]],
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	end }
 | 
						end }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue