Vinfo is a Vim plugin that allows you to read Info documentation files right inside a Vim session in a Vim-help fashioned way or from a shell just the way you would normally use Info
The traditional GNU Info program has a 'vi mode', but let's face it, it's just not good enough; it's very limited and ugly.
That is where Vinfo comes in, leveraging Vim's help-files format and navigation (tags jumping).
-
Or install it manually by copying the files to the corresponding locations.
Vinfo can be used right inside a Vim session or from a shell using an alias.
** For extra details about how to use Vinfo please use :h Vinfo
**
You can use Vinfo inside Vim with:
:Vinfo doc
Where doc
is the Info documentation to read.
Example: Read Glibc Info documentation
:Vinfo libc
When you're not inside a Vim session but in the shell prompt you can invoke Vinfo as a command by using the following shell script:
#! /bin/sh
vim -c "Vinfo $1" -c 'silent only'
Save it in /usr/bin/
as a file named vinfo
, give it execution
permission with:
$ chmod +x /usr/bin/vinfo
Then from your shell you can read a DOC with:
$ vinfo doc
The first time Vinfo will create a repo for that Info doc, convert the text files to Vim help-file syntax and create the tags.
Don't worry, it's just the very first time. Then it will be ok.
Because of the same reason of 4.1
But again: Don't worry, it's just the very first time. Then it will be ok.
In Vim execute:
:VinfoClean
No. It's just for GNU/Linux systems. Info is the GNU documentation system