I know the 'z' key has some kind of special function in Vim, it activates many double key shortcuts (so does 'g'), but almost all of them are assigned to folding, something that I never use. So I really would like 'z' to be my leader key.
But that is not working. Suppose I want 'zw' as a shortcut for 'writing' the buffer:
nnoremap <Leader>w ^[:w<CR>
That causes an error claiming that "Spell checking is not enabled."
The default binding for 'zw' is 'mark word as wrong,' so obviously my configuration change is not working.
What do I have to do to be able to use z as the leader key?
<
in your~/.vimrc
?