Vim Tips Wiki
No edit summary
Line 32: Line 32:
 
Op een Belgisch AZERTY toetsenbord, <tt>Ctrl-$</tt> geeft juist <tt>$</tt>. Om <tt><nowiki>Ctrl-]</nowiki></tt> te krijgen, gebruikt U <tt>Ctrl-AltGr-$</tt> (zoals U <tt>AltGr-$</tt> tikt om <tt><nowiki>]</nowiki></tt> te krijgen).
 
Op een Belgisch AZERTY toetsenbord, <tt>Ctrl-$</tt> geeft juist <tt>$</tt>. Om <tt><nowiki>Ctrl-]</nowiki></tt> te krijgen, gebruikt U <tt>Ctrl-AltGr-$</tt> (zoals U <tt>AltGr-$</tt> tikt om <tt><nowiki>]</nowiki></tt> te krijgen).
   
On any keyboard, if you don't know where Ctrl-] is built in (or if it is in an awkward location) you can always map it: e.g. the following mappings will let you use <F9> in Normal mode to follow a tag or a help hotlink, and in Insert or Command-line mode to terminate an abbreviation without inserting anything after it (see {{help|i_CTRL-]}}):
+
On any keyboard, if you don't know where <tt><nowiki>Ctrl-]</nowiki></tt> is built in (or if it is in an awkward location) you can always map it: e.g. the following mappings will let you use <tt>&lt;F9&gt;</tt> in Normal mode to follow a tag or a help hotlink, and in Insert or Command-line mode to terminate an abbreviation without inserting anything after it (see {{help|i_CTRL-]}}):
 
<pre>
 
<pre>
nmap <F9> <C-]>
+
nmap &lt;F9&gt; &lt;C-&#93;&gt;
map! <F9> <C-]>
+
map! &lt;F9&gt; &lt;C-&#93;&gt;
 
</pre>
 
</pre>
 
[[User:Tonymec|Tonymec]] 07:35, November 4, 2011 (UTC)
 
[[User:Tonymec|Tonymec]] 07:35, November 4, 2011 (UTC)

Revision as of 07:53, 4 November 2011

Tip 695 Printable Monobook Previous Next

created April 7, 2004 · complexity basic · author Olivier Mengué · version 6.0


Pour naviguer dans l'aide en ligne de Vim, la touche documentée dans l'aide pour suivre les liens (tags) est Ctrl+].

Sur un clavier français, la combinaison de touches est Ctrl+$ (le même code de touche est envoyé à Vim).

To navigate on-line Vim help, help tells you to use Ctrl+]. However this does not work in AZERTY (French) keyboards. In these keyboards, you shoud use Ctrl-$ (the same key code is sent to Vim). See below for Belgian AZERTY keyboards

This tip is only useful for AZERTY keyboard users, which are normally French speaking people or Belgian people (whose mother language might be Dutch or even German).

Comments

For German QWERTZ-Keyboards have a look at VimTip100.


Close your eyes and imagine you have a QWERTY keyboard and hit <ctrl> + the key where the qwerty-key would have been. '$' replaces ']' on AZERTY keyboards.

Otherwise, I navigate with <M-left> and <M-down>.


Sur un clavier AZERTY belge, Ctrl-$ produit tout simplement $. Pour obtenir Ctrl-], utilisez Ctrl-AltGr-$ (de même que pour obtenir ] vous faites AltGr-$).

Op een Belgisch AZERTY toetsenbord, Ctrl-$ geeft juist $. Om Ctrl-] te krijgen, gebruikt U Ctrl-AltGr-$ (zoals U AltGr-$ tikt om ] te krijgen).

On any keyboard, if you don't know where Ctrl-] is built in (or if it is in an awkward location) you can always map it: e.g. the following mappings will let you use <F9> in Normal mode to follow a tag or a help hotlink, and in Insert or Command-line mode to terminate an abbreviation without inserting anything after it (see :help i_CTRL-]):

nmap <F9> <C-]>
map! <F9> <C-]>

Tonymec 07:35, November 4, 2011 (UTC)