Add which key and ToggleTerm

This commit is contained in:
Warren Hood 2022-11-10 21:49:34 +02:00
parent bc7e0a5247
commit cf4ebea204
2 changed files with 64 additions and 48 deletions

View file

@ -56,6 +56,20 @@ 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
@ -63,5 +77,3 @@ require("packer").startup(function()
require("packer").sync() require("packer").sync()
end end
end) end)

View file

@ -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