I am in the process of converting my init.vim over to lua files instead. One thing I have been getting hung up on is that I can’t seem to set the leader key. In my init.vim I have the leader key set to space using
let mapleader = ' '. I have tried using the idiomatic
vim.g.maplader = ' ' in my lua setup but it is not working.
I also tried setting the leader key by using my version from the init.vim wrapped in a Neovim cmd
vim.cmd 'let mapleader = " "' and that has not worked either. I am sure I am probably just missing something here. Any ideas?