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,12 +56,24 @@ 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
if packer_bootstrap then
require("packer").sync()
end
end)

View file

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