Tabs in VI

Open all files with the -b switch, and in Vi enter colon ( : ), the letter b and the number the file was in the list as in the example below.

Below is a bash script that should be named vi.project or whatever - just replace the first file in the list with that name. That way the first tab always shows you the number of the other files for reference.

#!/bin/bash
#     1          2         3            4               5              6                 7                  8               9                    10
vi -b vi.project index.php ajax.php css/default.css lib/config.php lib/functions.php lib/javascript.php lib/age.obj.php lib/php-library.php tmpl/index.tmpl

Page Comments (Click to edit)

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Powered by pmwiki-2.2.0-beta65