html-macros.vim : macros for html
| script karma |
Rating 55/28,
Downloaded by 6234 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Carl Mueller |
| |
| script type |
| utility |
| |
| description |
Here are some macros for html.
In normal mode, the function key F1 will insert an html skeleton.
In insert mode, F1 will complete the previous uncompleted tag.
Typing "<" will result in a pair "<>", with the cursor in between.
There are a number of macros beginning with ";". For instance,
;1 will result in <h1></h1>, with the cursor in the middle.
Typing ;1 in visual mode will embrace the region with the tags <h1></h1>. |
| |
| install details |
Put it in an ftplugin directory in your runtime path,
or add the following line to your .vimrc file.
autocmd Filetype html source ~/.Vim/html-macros.vim
with the appropriate directories. |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.107
|