craftzdog / dotfiles-public

My personal dotfiles
6.44k stars 1.16k forks source link

Disable NeoTree if not used #143

Closed Pkcarreno closed 1 year ago

Pkcarreno commented 1 year 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 1 year 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