craftzdog / dotfiles-public

My personal dotfiles
6.32k stars 1.16k forks source link

Disable NeoTree if not used #143

Closed Pkcarreno closed 10 months ago

Pkcarreno commented 10 months ago

Hi, Thanks for this amazing and inspiring config

I just noticed NeoTree plugin is still enabled, I think if you are using Telescope file browser to explore files maybe disabling NeoTree could be useful (I don't know about the actual impact on startup time, I think it's null but at least it free some key bindings)

return {
  -- disable NeoTree
  { "nvim-neo-tree/neo-tree.nvim", enabled = false },
}
craftzdog commented 10 months ago

It isn't necessary as NeoTree will not be loaded until you run the command Neotree because of the cmd option in LazyVim:

  {
    "nvim-neo-tree/neo-tree.nvim",
    branch = "v3.x",
    cmd = "Neotree",

I'd like to keep my config minimal. If I'm wrong, please let me know