klooj

Results 9 comments of klooj

Fwiw, [plenary.nvim](github.com/nvim-lua/plenary.nvim) has a function for reloading modules. ```lua local relmod = require('plenary.reload').reload_module R = function(name) relmod(name) return require(name) end ``` I've been using `R('keymaps.leader')` on bufenter, which does not...

As a sidenote, ultimately it may make sense to handle the actual mapping of keys without which-key. But once which-key is relegated to being used for the popup only, it...

turns out my hacks were almost identical to this plugin. setup took 2 seconds and already so much better. i have not figured out the buffer specific localleader popup guide...

No rush. It was so easy to setup that I haven't done a proper deep dive yet. I may figure it out before then.

i'm not sure. whichkey did not handle this at all but then the last time i checked, like 6 months ago, a feature a branch was added to handle this...

just so we're on the same page, I framed my initial post as a question because this functionality did not yet exist in the wild, as far i know.

likely addressed by pull requests #16 & #17

> I am trying to use your fork with packer to see if I can fix this issue. I can't get the your fork to load, do you know how...

not everything, just the nlua plugin. so comment out tj/nlua and run packersync. then add newjawn/nlua and run packersync. you'll likely need to exit vim in between.