Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Id like to exchange , and ; for moving to next and previous character-search, because that fits better the lowercase is next UPPERCASE is previous schema on a German Keyboard. But I don't know how.

Can somebody help?

share|improve this question
up vote 5 down vote accepted

These are normal-mode commands; with :nnoremap, you avoid that the mapping targets are again remapped; this enables the swapping (and is generally a good practice to use). Put the following into your ~/.vimrc to make it permanent:

:nnoremap ; ,
:nnoremap , ;
share|improve this answer
    
Thanks, perfect! :) – AME Mar 19 '13 at 22:42
    
Still using this, works great on a German keyboard. :) – AME Jan 21 '14 at 9:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .