-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bring back leader key #1556
Comments
so things were broken and are much better now even if lazy wouldn't complain about you setting maplocalleader somewhen after loading it it still wouldn't work it's unfortunate that it isn't easily possible to change the prefix easily only for neorg and have it different from maplocalleader |
Doesn't those two things contradict themselves ? That's the whole problem for me. Local leader, should by definition be local, but if I can't modify it after lazy is loaded then I can't modify it and made it local ? I'm missing something here.
Mappings aren't old school. I've used hundreds of plugins of both vim and nvim over 6/7 years very extensively and, yes, <Plug> is uncommon in nvim community. Following what's commonly used elsewhere is not a bad idea. Moreover my main point stands, I've never seen in my life any package introducing so regularly breakage not adding anything functionnaly. It's really annoying. Everytime I update all my packages then I spent a bit of time fixing neorg then I think it's good and then regularly discover new problems. I use neorg extensively for my job, my livelihood, I'd appreciate me not wasting hours for no good. I've followed and contributed to open source project for more many years and I've never seen that. It's important to focus on the end user and try not to break everything needlessly all the time. When hours of thousands of software engineers are wasted it's the equivalent of 10s/100s of thousands of dollars wasted (if we take the salary of an average dev in the west)
I can agree it was bad now it's ok. But we can make it backward compatible. But at least I can understand that so I won't complain about it. |
The purpose of local leader is to be the leader key for buffer local mappings. It's not supposed to change for different buffers (this would make it's usage very confusing, mentally strenuous, and inconsistent).
We use semver for a good reason. Not b/c we like watching numbers go up. If you don't have time for updating, I totally understand. You can (and sounds like should) pin the version of this plugin to the latest major version and only update when you have extra time or see a feature that you really want. If the plugin breaks on you, that's on you, you're in total control of when our breaking changes impact your usage. I'll add that a lot has improved over the past two major versions despite things moving slower than we'd like at the moment (people are just working on related projects instead of the core neovim plugin right now, and on top of that life is getting busy for a lot of people at the same time). Features are still being added (take a look at my PR history), link autocomplete is just one of quite a few new features. |
and I'll close with that b/c this discussion is not gonna be productive. You can create your own keybinds if you want them to start with |
Issues
Feature description
neorg_leader was just fine. I'm very surprised that you use , it feels old-school and doesn't work well with lazy. I want to have "g" only for neorg (as I had before) but lazy cannot do it
Lazy will give error " You need to set
vim.g.maplocalleader
BEFORE loading lazy"Can we bring back neorg_leader
It's a good project and I don't like to criticize open source project but a ton of things keep breaking without the breakage adding any functional feature. I strongly dislike the many number of breaking changes this package do. In most cases it feels like goin backward: multiple changes do installation process with lazy, remap_event removed to bring back vim style <Plug> (when nvim plugins typically use something like vim.keymap.set('a', require('norg').create_line()), "neorg_leader" removed to use old vim style . Please slow down the backward incompatible changes, especially when they don't add anything functionally (think about the thoushand of devs wasting hours because of breakage which don't add anything)
If it's ain't broken don't fix it :)
Help
Yes
Implementation help
No response
The text was updated successfully, but these errors were encountered: