home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!doc.ic.ac.uk!uknet!axion!muppet!nemesis!mugwump!carlj
- From: carlj@muppet.bt.co.uk (Carl)
- Newsgroups: comp.editors
- Subject: Re: multiple file editing in VI
- Message-ID: <1gpiklINNj6t@nemesis.muppet.bt.co.uk>
- Date: 17 Dec 92 09:52:21 GMT
- References: <1992Dec13.031358.28041@netcom.com>
- Reply-To: carlj@muppet.bt.co.uk
- Organization: British Telecom
- Lines: 14
- NNTP-Posting-Host: mugwump.muppet.bt.co.uk
-
- In article 28041@netcom.com, alm@netcom.com (Andrew Moore) writes:
- +I belive you can toggle back and forth between two files with the ex
- +command
- +:e#
- +And if you are editting C language files, I presume you know about
- +ctags? For example, after creating a tags file, use CTL-] (i.e., press
- +the ] key while holding down the CTL key) to jump to the file defining
- +the function under the cursor. To return, use CTL-^.
-
- Well you could use ctl-^ but this would only take you up one level a far
- more chocolaty command is ctl-t which is the equivalent of :pop.
-
- Cheers,
- C
-