Small changes to config
This commit is contained in:
@@ -40,14 +40,6 @@ opt.isfname:append("@-@")
|
|||||||
|
|
||||||
opt.updatetime = 50
|
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
|
-- windows
|
||||||
if vim.fn.has("win32") == 1 then
|
if vim.fn.has("win32") == 1 then
|
||||||
o.shell = "pwsh"
|
o.shell = "pwsh"
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
init = function()
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
end,
|
||||||
branch = "v3.x",
|
branch = "v3.x",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ return {
|
|||||||
"nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
enabled = false,
|
enabled = false,
|
||||||
|
init = function()
|
||||||
|
vim.g.loaded_netrw = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
local nvimtree = require("nvim-tree")
|
local nvimtree = require("nvim-tree")
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
|
init = function()
|
||||||
|
vim.o.timeout = true
|
||||||
|
vim.o.timeoutlen = 300
|
||||||
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
local whichkey = require("which-key")
|
local whichkey = require("which-key")
|
||||||
|
|
||||||
@@ -14,7 +18,7 @@ return {
|
|||||||
icons = {
|
icons = {
|
||||||
breadcrumb = "»",
|
breadcrumb = "»",
|
||||||
separator = "➜",
|
separator = "➜",
|
||||||
group = "➜",
|
group = "",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user