Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 at 9:57

Your Answer

 
discard

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.