HTML - insert : Script for easy insert HTML tag A href and IMG with filled attributes.
script karma |
Rating 23/13,
Downloaded by 2199 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Petr Mach |
|
script type |
utility |
|
description |
Script add command :IMG and :HREF for easy inserting xhtml elements IMG and ANCHOR.
Without parameter call file browser dialog for select file.
If Vim is not support browse() function (non GUI Vim), you must insert path manualy.
:IMG command call identify (from ImageMagic) for detect geometry of image. |
|
install details |
Add content from script file to .vimrc or _vimrc.
Or read script file with command :source .
Or insert script into plugin directory. |
|
script versions (upload new version)
Click on the package to download.
HTML_insert.vim |
1.2 |
2003-02-16 |
6.0 |
Petr Mach |
big improvements
rename HTML_loadImg() to HTML_insertImg() and fix inserted tag for XHTML compatibility
create HTML_insertHref() width new :HREF command
create Absolute2Relative() for make inserted path relative for files in up directory |
HTML_loadImg.vim |
1.1 |
2003-02-13 |
6.0 |
Patrick Mairif |
bugfix: parsing manually added image path |
HTML_loadImg.vim |
1.0 |
2003-02-12 |
6.0 |
Petr Mach |
Initial upload |
ip used for rating: 18.224.96.245
|