I've tried setting localleader using:
:let localleader="]"
And it seems to be 'working':
:let localleader
localleader ]
However, when I try and run a command using localleader, it doesn't seem to register, and is using the general leader. For example, after I do:
:autocmd FileType python nnoremap <localleader>c I#<esc>
Hitting ]c
does nothing...but hitting \c
(normal leader) actually works. What's wrong here? Perhpaps I'm misunderstanding the use of leader
vs mapleader
?