Small changes to config

This commit is contained in:
2023-09-25 14:08:50 +02:00
parent 3334cd2321
commit d71d0858f4
4 changed files with 13 additions and 9 deletions

View File

@@ -40,14 +40,6 @@ 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
-- windows
if vim.fn.has("win32") == 1 then
o.shell = "pwsh"

View File

@@ -1,5 +1,9 @@
return {
"nvim-neo-tree/neo-tree.nvim",
init = function()
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",

View File

@@ -2,6 +2,10 @@ return {
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },
enabled = false,
init = function()
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
config = function()
local nvimtree = require("nvim-tree")

View File

@@ -1,5 +1,9 @@
return {
"folke/which-key.nvim",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
config = function()
local whichkey = require("which-key")
@@ -14,7 +18,7 @@ return {
icons = {
breadcrumb = "»",
separator = "",
group = "",
group = "",
},
})