Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    Relativize 0.1

    Download button

    No screenshots available
    Downloads: 384  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael Brown | More programs
    GPL / FREE
    April 3rd, 2008, 08:36 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    Relativize description

    Relativize is a Vim script to quickly make a full path name relative to an index.html or tags file.

    Relativize is a Vim script to quickly make a full path name relative to an index.html or tags file.

    Project with a tags file example:

    Open a long full path name from some error log

    vi /some/full/path/to/project/current_project/lib/module/file.ext
    ...

    :Relativize tags

    if you type :pwd you should get

    /some/full/path/to/project/current_project

    assuming a tags file has been created in the current_project file in the past.

    So hopefully this means tag jumps will work and relative include paths can be accessed via gf. This could also be useful for other landmark files on the system (eg. index.html, tags, README). In the above example using the actual file.ext as the argument will make the working directory the module directory.

    The function will prioritise the deepest tags file.

    Requirements:

    · Vim

    INSTALLATION:

    add the relativize.vim into the plugins directory

    Product's homepage

      


    TAGS:

    vim script | tag jumping | relative path | path | name | html

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM