Vim Tips Wiki
Advertisement

Previous TipNext Tip

Tip: #868 - Go to end-of-line when using langmap

Created: February 9, 2005 6:51 Complexity: basic Author: Tishchenko Ivan Version: 6.0 Karma: 1/5 Imported from: Tip#868

Recently I found it very helpful to use 'langmap' option. But I've got a problem: when I switch to my language, I'm not able to use $ command (go-to-end-of-line), because keyboad layout (for my language) does not contain this character at all.


I had to press <End> (which is quite inconvinient) or switch to another layout each time I needed to to to end of line. (Or use some another ways: pressing w considerable amount of times, or use f<char>, or anything else.)


This was awful!


But today I found another way, which is much easier: command g_ moves cursor to the last non-blank character in the line. This works with 'langmap', for all english characters are always "mapped" properly.


See also tip #278.

Comments

Advertisement