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

Cosmic doesn't register/set leader key when first loading

hsheikhali1 opened this issue · comments

The default keybinding for leader is " " however, my config should override that as soon as I load Cosmic but it doesn't. I have to open a file with the default leader then my leader mapping will be applied.

Check your configuration file, if you have any errors in it (like lua runtime), the settings are disregarded.

This happened to me, there was a code failure that ended up ignoring the file. A feedback on the UI would be welcome.

The change was introduced here:
1e23745

I'd have to check again but I didn't see any runtime errors. Let me confirm and get back to you

@andersonba So, I was unable to figure out what was going on.. I also noticed that nvim-notify causes significant errors maybe thats why it wasn't working ? In my honest opinion, I think making nvim-notify optional would be nice.

@andersonba
Here is a screengrab of me trying to use ,ff to open telescope. There are no errors nothing but it doesn't trigger..

Screen.Recording.2023-02-25.at.2.41.56.PM.mov

Ohhhhhhhhhhhhh I figured out what's going on. Telescope is lazyloaded and is not being triggered with ,ff the leader key is being set but I can't trigger telescope with it.. It's when I trigger it with space ff then it works with the new leader key.