Vim Tips Wiki
Register
(how to specify relative path locations)
 
(how to specify relative path locations)
Line 1: Line 1:
 
This is a wow script!
 
This is a wow script!
  +
 
It took me a while to understand how to specify relative path locations.
 
It took me a while to understand how to specify relative path locations.
 
I think they work as follows:
 
I think they work as follows:
  +
- tags file: relative to dir where vim is running from
 
- sources: relative to dir where vim is running from; sets base dir of file list
+
* '''tags''' file: relative to dir where vim is running from
- target: relative to dir where vim is running from; sets base dir of html files; the same dir structure the same dir structure of file list is recreated in target dir
+
* '''sources''': relative to dir where vim is running from; sets base dir of '''file list'''
  +
* '''target''': relative to dir where vim is running from; sets base dir of html files; the same dir structure of '''file list''' is recreated in '''target''' dir
- file list: relative to sources dir
+
* '''file list''': relative to '''sources''' dir

Revision as of 23:37, 5 June 2010

This is a wow script!

It took me a while to understand how to specify relative path locations. I think they work as follows:

  • tags file: relative to dir where vim is running from
  • sources: relative to dir where vim is running from; sets base dir of file list
  • target: relative to dir where vim is running from; sets base dir of html files; the same dir structure of file list is recreated in target dir
  • file list: relative to sources dir