Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am in the habit of using both querty and dvorak keyboard mappings on my computer, and would like to make a function in vim, that remaps h to d, j to h, k to t, and l to n. I would also like a function that would switch the mappings back. I can handle the forward function, but am at a loss as to how I would unmap the previously defined mappings.

share|improve this question
up vote 0 down vote accepted

Vim dvorak users may be interested in this wiki page that tells you how to use dvorak in insert mode while keeping the command keys the same in normal mode:

Also, the (i|n|x|etc.)unmap commands unmap.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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