-
|
I added |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Hello @jsatk, Interpreting your question, I assume you setup LazyVim using its starter package. The following does not look right:
See this warning
LazyVim sets the mapleader in its I hope I understood your setup correctly. Let me know otherwise. |
Beta Was this translation helpful? Give feedback.
-
|
@abeldekat you're very kind. I was mixing up instructions from multiple places. This almost totally fixes it. The leader still isn't set correctly on the startup/splash screen. But everywhere else it is. I can live with that. Thank you very much for the kind response. |
Beta Was this translation helpful? Give feedback.
-
|
I'm having the same issue. I can't remap the leaderkey. It's always space even though I'm doing |
Beta Was this translation helpful? Give feedback.
-
|
I ran into this and it took a bit of hunting to find out what was happening, but I think I've got it. What's probably going on for both of you is that you have copied the default -- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"To fix this you can either:
|
Beta Was this translation helpful? Give feedback.
I ran into this and it took a bit of hunting to find out what was happening, but I think I've got it. What's probably going on for both of you is that you have copied the default
config.lazyfile from the official installation documentation for Lazy.nvim. It includes the following lines which overwrite your mapleader setting.To fix this you can either:
vim.g.leaderlines above from your config.lazy file and set it earlier in yourinit.luaor similar.