Fandom

Vim Tips Wiki

Go to end-of-line when using langmap

Redirected from VimTip868

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 868 Printable Monobook Previous Next

created 2005 · complexity basic · author Ivan Tishchenko · version 6.0


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

I had to press <End>, or use some other inconvenient way of jumping to the end of a line.

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

See also VimTip278.

CommentsEdit

Also on Fandom

Random Wiki