Added config file for whichkey plugin and
seperated opts for it.
This commit is contained in:
@@ -34,6 +34,10 @@ opt.isfname:append("@-@")
|
||||
|
||||
opt.updatetime = 50
|
||||
|
||||
--options for whichkey
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
|
||||
-- Options for nvim-tree
|
||||
g.loaded_netrw = 1
|
||||
g.loaded_netrwPlugin = 1
|
||||
|
||||
@@ -105,14 +105,7 @@ return packer.startup(function(use)
|
||||
use("lewis6991/gitsigns.nvim")
|
||||
use("f-person/git-blame.nvim")
|
||||
-- useful plugins
|
||||
use({
|
||||
"folke/which-key.nvim",
|
||||
config = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
require("which-key").setup({})
|
||||
end,
|
||||
})
|
||||
use("folke/which-key.nvim")
|
||||
use({
|
||||
"nvim-lualine/lualine.nvim",
|
||||
requires = { "nvim-tree/nvim-web-devicons", opt = true },
|
||||
|
||||
Reference in New Issue
Block a user