In Vim, se digiti :help
nella barra di stato, si ottiene una finestra con questo (contenuto troncato ai bit rilevanti):
*help.txt* For Vim version 7.4. Last change: 2012 Dec 06
VIM - main help file
...
USER MANUAL: These files explain how to accomplish an editing task.
Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].
|usr_toc.txt| Table Of Contents
Getting Started ~
|usr_01.txt| About the manuals
|usr_02.txt| The first steps in Vim
|usr_03.txt| Moving around
|usr_04.txt| Making small changes
|usr_05.txt| Set your settings
|usr_06.txt| Using syntax highlighting
|usr_07.txt| Editing more than one file
|usr_08.txt| Splitting windows
|usr_09.txt| Using the GUI
Supponi di voler visualizzare ulteriori informazioni su questo elemento |usr_07.txt|
, quale comando scrivo?
Ho provato questo:
Passa a un oggetto:posiziona il cursore su un tag (ad es. |barre|) e premi CTRL-].
Ma la mia finestra del terminale ha mappato ctrl -
per “diminuire il testo”.
Risposta accettata:
Puoi usare
:help usr_01.txt
per accedere a un file specifico. Di solito è più utile passare a un argomento particolare:
:help syntax
:help wq
:help CTRL-]
Quest'ultimo rileva che puoi anche usare Ctrl-clic con il mouse e anche il doppio clic funziona.
Puoi anche usare g]
per accedere a tagselect, che offre un elenco da cui puoi selezionare con solo numeri e Invio . In molti casi sarà un elenco di un elemento, ma evita comunque di usare Ctrl-] in qualsiasi momento.
Alcuni altri comandi che potresti usare per seguire questi link sono elencati anche in :help tagsrch.txt
.