I'm using a French keyboard, and <C-]> to access to a tag definition is cumbersome. You need AltGr+] to access the ] character, so the whole thing is 3 keys pressed at the same time: Ctrl+AltGr+].

I want to remap it to Ctrl+), because ) and ] are on the same key, but ) is accessible directly. This is what I tried:

nnoremap <C-)> <C-]>

This doesn't work. The cursor moves as if I had just pressed ). Any idea on why it doesn't work, or how I could debug that?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.