Open markfaine opened 2 years ago
If your question is how to map something to the original/default for ,
then I think you want something like :nnoremap _x :normal! ,
(where _x
is whatever you want to map to ,
).
I didn't check this, but off the top of my head I think this should at least be close.
You could just wait one second after pressing comma and it will work. You can change the time with the timeoutlen
option. However, what I like to do is this:
nnoremap <leader><leader> ,
This will make pressing comma twice do what comma originally did. You need to have nnoremap
instead of nmap
.
How do I remap ',' since I use that as my leader?
Thanks, Mark