CosmicNvim / CosmicNvim

CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience!

Home Page:https://cosmicnvim.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File tree toggle not working

joshmlamb opened this issue · comments

I'm running into an issue toggling the file tree when first opening Neovim inside a project directory. Pressing <C-n> doesn't toggle the file tree, however, after manually running :NvimTreeToggle pressing <C-n> then toggles the file tree. I was wondering if this is an issue anyone else is facing?

Thank you for creating and releasing this configuration layer for Neovim, it's been a great experience so far.

After remapping the :NvimTreeToggle command to <leader>e, I'm no longer having this issue.

@joshmlamb Hi! Glad to hear you found suitable workaround.

Can you tell me if you are using dashboard.nvim or not? I haven't seen similar issues myself.

I'm also experiencing the same behavior as josh. <C-n> doesn't work until the file tree is triggered by something else e.g. :NvimTreeToggle or pressing enter on the File Manager from the dashboard.

@andrew-chon just pushed a fix that should fix this..

If it doesn't, let me know if you're running the default config setup or what custom settings you have so I can troubleshoot better.

Hey @mattleong, I uninstalled per the instructions in the wiki and did a fresh install with default configs.
Getting the same error as #40 and now the <C-n> doesn't toggle nvim-tree at all and just scrolls down the list of files.

@andrew-chon Please post your custom settings if you have any