mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 13:18:41 +00:00 
			
		
		
		
	Add which key and ToggleTerm
This commit is contained in:
		
							parent
							
								
									bc7e0a5247
								
							
						
					
					
						commit
						cf4ebea204
					
				| 
						 | 
					@ -56,12 +56,24 @@ require("packer").startup(function()
 | 
				
			||||||
            'nvim-tree/nvim-web-devicons', -- file icons
 | 
					            'nvim-tree/nvim-web-devicons', -- file icons
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        tag = 'nightly'
 | 
					        tag = 'nightly'
 | 
				
			||||||
}
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    -- ToggleTerm
 | 
				
			||||||
 | 
					    use { "akinsho/toggleterm.nvim", tag = '*', config = function()
 | 
				
			||||||
 | 
					        require("toggleterm").setup()
 | 
				
			||||||
 | 
					    end }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    -- Which key for command suggestions
 | 
				
			||||||
 | 
					    use {
 | 
				
			||||||
 | 
					        "folke/which-key.nvim",
 | 
				
			||||||
 | 
					        config = function()
 | 
				
			||||||
 | 
					            require("which-key").setup()
 | 
				
			||||||
 | 
					        end
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    -- Automatically set up configuration after cloning packer.nvim
 | 
					    -- Automatically set up configuration after cloning packer.nvim
 | 
				
			||||||
    if packer_bootstrap then
 | 
					    if packer_bootstrap then
 | 
				
			||||||
        require("packer").sync()
 | 
					        require("packer").sync()
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
end)
 | 
					end)
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,3 +32,7 @@ g.mapleader = " "
 | 
				
			||||||
-- Disable netrw
 | 
					-- Disable netrw
 | 
				
			||||||
g.loaded_netrw = 1
 | 
					g.loaded_netrw = 1
 | 
				
			||||||
g.loaded_netrwPlugin = 1
 | 
					g.loaded_netrwPlugin = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-- Timeout length (Time in milliseconds to wait for a mapped sequence to complete.)
 | 
				
			||||||
 | 
					o.timeoutlen = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue