You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see an option that would check if a module is loaded or not to determine on wether to define the keymap.
Reason
Less repetitiveness. I have cases where I disable many of the plugins for faster startup, thus my keymaps.lua is populated with a snippet similar to the following:
ifpackage.loaded["confirm-quit"] thenmap {
{ "<leader>qq", function() require"confirm-quit".confirm_quit { force=true } end },
}
end
It is possible to move all of the plugin keymaps into the plugins.lua, but it is already very big, + I like my configs modularized.
The text was updated successfully, but these errors were encountered:
I would like to see an option that would check if a module is loaded or not to determine on wether to define the keymap.
Reason
Less repetitiveness. I have cases where I disable many of the plugins for faster startup, thus my
keymaps.lua
is populated with a snippet similar to the following:It is possible to move all of the plugin keymaps into the
plugins.lua
, but it is already very big, + I like my configs modularized.The text was updated successfully, but these errors were encountered: