Vim Tips Wiki
(Remove html character entities)
(What to do if nothing happens.)
Line 1: Line 1:
  +
I'm the only one in this world. Can please someone join me in this life? Or maybe death...
{{review}}
 
  +
I'm the only one in this world. Can please someone join me in this life? Or maybe death...
{{TipImported
 
|id=100
 
|previous=99
 
|next=102
 
|created=August 20, 2001
 
|complexity=basic
 
|author=SBrueggemann
 
|version=5.7
 
|rating=90/35
 
|category1=
 
|category2=
 
}}
 
You're a newbie in Vim and need some {{help|help.txt}}? Well, help.txt reads:
 
 
Jump to a subject: Position the cursor on a tag between |bars| and hit CTRL-].
 
 
Unfortunately there is no "]" key on German keyboards. On Win32 try CTRL-+ (Strg-+), on Linux console I use CTRL-AltGr-9 (Strg-AltGr-9).
 
 
==Comments==
 
If you know the ascii code of the ] (93 or 0x5d), you could create a mapping to it to guarantee your combination would work -- the German keyboard might have some other character that could be used:
 
 
noremap <c-theChar> <c-]>
 
 
You can get the ] by typing a control-v followed by 93<Space> or control-v followed by x5d.
 
 
----
 
I suggest to use:
 
 
nnoremp t <C-]>
 
 
the t functionality is rarly used and it make sense. (t =tag, and jumping back with control-t)
 
 
----
 
I prefer this mapping:
 
 
nnoremap ü <C-]>
 
nnoremap Ü <C-O>
 
 
Who needs umlauts in normal mode?
 
 
----
 

Revision as of 01:24, 24 April 2009

I'm the only one in this world. Can please someone join me in this life? Or maybe death... I'm the only one in this world. Can please someone join me in this life? Or maybe death...