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()
 | 
			
		||||
			require("trouble").setup {
 | 
			
		||||
				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
 | 
			
		||||
				width = 50, -- width of the list when position is left or right
 | 
			
		||||
				icons = true, -- use devicons for filenames
 | 
			
		||||
				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
 | 
			
		||||
				icons = true,       -- use devicons for filenames
 | 
			
		||||
				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
 | 
			
		||||
				group = true, -- group results by file
 | 
			
		||||
				padding = true, -- add an extra new line on top of the list
 | 
			
		||||
				group = true,       -- group results by file
 | 
			
		||||
				padding = true,     -- add an extra new line on top of the list
 | 
			
		||||
				action_keys = {
 | 
			
		||||
					-- key mappings for actions in the trouble list
 | 
			
		||||
					-- 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()
 | 
			
		||||
		require("toggleterm").setup {
 | 
			
		||||
			insert_mappings = false,
 | 
			
		||||
			terminal_mappings = false,
 | 
			
		||||
			open_mapping = [[<c-\>]],
 | 
			
		||||
		}
 | 
			
		||||
	end }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue