---
name: "vg"
section: "1"
platform: "linux"
package: "cgvg"
version: "1.6.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/vg"
---

# vg(1)

Edit an entry found by the cg script

## NAME

vg - Edit an entry found by the cg script

## SYNOPSIS

**vg** \[ -l \] number

## DESCRIPTION

**vg**  is the companion script to [cg(1)](/cg/1.md) which fires off an editor to edit an entry found by [cg(1)](/cg/1.md).  This script is run only with one argument which just be an integer within rage of the output of [cg(1)](/cg/1.md), as seen on the far left column.  (Such as "vg 0".)  Running it with the **-l** option edits using the log from the last search.

## COMMAND-LINE OPTIONS

- **-l**

  Edits from the last search rather than from this terminal

## FILES

- *${HOME}/.cglast*

  Log file of the last search.

- *${HOME}/.cgvgrc*

  Per-user configuration file (if the defaults are not desirable).

## SEE ALSO

[**cg**(1)](/cg/1.md), [**perl**(1)](/perl/1.md), [**cscope**(1)](/cscope/1.md)

## AUTHOR

**vg** was written by Joshua Uziel \<uzi@uzix.org\>.
