Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

vim-ragtag

ragtag.vim: ghetto HTML/XML mappings (formerly allml.vim)

Subscribe to updates I use vim-ragtag


Statistics on vim-ragtag

Number of watchers on Github 275
Number of open issues 5
Average time to close an issue 2 months
Main language VimL
Average time to merge a PR 2 days
Open pull requests 2+
Closed pull requests 14+
Last commit over 2 years ago
Repo Created almost 10 years ago
Repo Last Updated over 1 year ago
Size 63 KB
Homepage http://www.vim.or...
Organization / Authortpope
Contributors9
Page Updated
Do you use vim-ragtag? Leave a review!
View open issues (5)
View vim-ragtag activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating vim-ragtag for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

ragtag.vim

A set of mappings for HTML, XML, PHP, ASP, eRuby, JSP, and more (formerly allml)

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

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 are provided. 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.

Enhances surround.vim.

Self-Promotion

Like ragtag.vim? Follow the repository on GitHub and vote for it on vim.org. And if you're feeling especially charitable, follow tpope on Twitter and GitHub.

License

Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See :help license.

vim-ragtag open issues Ask a question     (View All Issues)
  • almost 4 years Using <?= ?> instead of <?php echo ?> in PHP
  • almost 4 years Better support for django
  • over 4 years Wrong tag autocompletion
  • about 6 years Readme?
vim-ragtag open pull requests (View All Pulls)
  • Use ftdetect mechanism with `setf html`
  • Enable for Handlebars files
vim-ragtag list of languages used
  • Vim script
Other projects in VimL