-
Notifications
You must be signed in to change notification settings - Fork 0
A set of mappings for HTML, XML, PHP, ASP, eRuby, JSP, and more (formerly allml)
vim-scripts/ragtag.vim
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1896 This plugin started out as a set of personal mappings, but there was enough enjoyment among those I shared it with for me to clean it up and release it. Features: While there are several HTML and XML scripts on vim.org, I have found none that share a significant amount of functionality with allml.vim. A huge variety of filetypes are supported: html, xhtml, wml, xml, xslt, xsd, jsp, php, aspperl, aspvbs, cf, mason, htmldjango, and eruby. (Let me know if I missed any). Some features take note of the filetype and adapt to it. Maps for editing tags. This includes a couple of "make last word into a tag pair" maps, a doctype map (inserts <?xml ...?> in XML), a "close last tag" map, and a few extra goodies. For templating languages (ASP, PHP, etc.), there are maps for inserting template code. The maps are dependent on the filetype: in ASP, you get <% %> and <%= %>, in PHP, <?php ?> and <?php print ?>, etc. If said template language has a comment syntax, there is a map for it, otherwise, that map points to <!-- -->. Maps for XML/HTML escaping and URL encoding have been moved to unimpaired.vim, vimscript #1590. Enhances surround.vim, vimscript #1697. http://github.com/tpope/vim-ragtag
About
A set of mappings for HTML, XML, PHP, ASP, eRuby, JSP, and more (formerly allml)
Resources
Stars
Watchers
Forks
Packages 0
No packages published