Fork me on GitHub

I’m trying to convert my clojure-related neovim config over to lua/fennel. A lot of my mappings reference <Leader> and <LocalLeader>, for example:

nmap <LocalLeader>e2 mg2\|lmq<LocalLeader>ee`g
When I convert it to fennel withe the following string:
(noremap :n :<LocalLeader>e0 "mg0|lmq<LocalLeader>ee`g")
It actually executes <Lo then prints alLeader>eeg`. How can I get it to read <LocalLeader> as my currently configured local leader?


Try using a string instead of a keyword. (noremap :n "<LocalLeader>e0" "mg0|lmq<LocalLeader>eeg")`

☝️ 1