Wondering if there is a difference between
map <Leader>f x
and
map <leader>f x
in Vim scripts?
Why the variants?
There is no difference—it's just case-insensitive. This works too:
map <lEaDeR>f x
The documentation uses <Leader>
, so it's probably best to do the same.