Vim Tips Wiki
m (Langmap: go-to-end-of-line problem moved to Go to end-of-line when using langmap: Page moved by JohnBot to improve title)
(Change <tt> to <code>, perhaps also minor tweak.)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=868
 
|id=868
  +
|previous=864
|title=langmap: go-to-end-of-line problem
 
  +
|next=869
|created=February 9, 2005 6:51
+
|created=2005
 
|complexity=basic
 
|complexity=basic
|author=Tishchenko Ivan
+
|author=Ivan Tishchenko
 
|version=6.0
 
|version=6.0
 
|rating=1/5
 
|rating=1/5
  +
|category1=
|text=
 
  +
|category2=
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.
 
 
}}
 
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 <code>$</code> 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 <code>g_</code> 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]].
I had to press &lt;End&gt; (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&lt;char&gt;, 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 &#35;278.
 
}}
 
   
== Comments ==
+
==Comments==
<!-- parsed by vimtips.py in 0.437071 seconds-->
 

Latest revision as of 05:52, 13 July 2012

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.

Comments[]