I would like to create a custom mapping for the <A-h>, i.e. Alt+h key combination.

nnoremap <silent> <A-h> …

However unlike <A-l>, this particular key combination opens the gvim Help menu.

How can I overwrite this standard gvim/window manager behaviour and still use a <A-h> mapping?

1 Answer 1

" Disable Alt+[menukey] menu keys (i.e. Alt+h for help)
set winaltkeys=no

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.