I'm trying to remap the | (pipe) key to , (comma) and I tried the following
nnoremap | ,
However, this doesn't work and pressing | takes me to the start of the line. What am I missing here?
You need to escape it.
nnoremap \| ,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With