josean-dev / dev-environment-files

2.64k stars 740 forks source link

Keymaps are there even if the plugin commands are not loaded #23

Closed Anirudh4583 closed 2 days ago

Anirudh4583 commented 1 year ago

The issue here is registering keymaps before loading/checking for the plugin that enables those commands. You should move the keymaps specific to plugins into the scripts where you're loading the plugins (because you're using protected calls; keymaps simply wont get registered if the plugin doesn't load successfully).