mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 07:58:41 +00:00 
			
		
		
		
	Add which key and ToggleTerm
This commit is contained in:
		
							parent
							
								
									bc7e0a5247
								
							
						
					
					
						commit
						cf4ebea204
					
				| 
						 | 
				
			
			@ -56,6 +56,20 @@ require("packer").startup(function()
 | 
			
		|||
            'nvim-tree/nvim-web-devicons', -- file icons
 | 
			
		||||
        },
 | 
			
		||||
        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
 | 
			
		||||
| 
						 | 
				
			
			@ -63,5 +77,3 @@ require("packer").startup(function()
 | 
			
		|||
        require("packer").sync()
 | 
			
		||||
    end
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,3 +32,7 @@ g.mapleader = " "
 | 
			
		|||
-- Disable netrw
 | 
			
		||||
g.loaded_netrw = 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