Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpope/vim-ragtag
ragtag.vim: ghetto HTML/XML mappings (formerly allml.vim)
https://github.com/tpope/vim-ragtag
Last synced: 4 days ago
JSON representation
ragtag.vim: ghetto HTML/XML mappings (formerly allml.vim)
- Host: GitHub
- URL: https://github.com/tpope/vim-ragtag
- Owner: tpope
- Created: 2010-01-18T01:04:48.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T14:20:52.000Z (about 2 years ago)
- Last Synced: 2024-08-02T13:35:44.435Z (3 months ago)
- Language: Vim script
- Homepage: http://www.vim.org/scripts/script.php?script_id=1896
- Size: 85 KB
- Stars: 352
- Watchers: 5
- Forks: 54
- Open Issues: 5
-
Metadata Files:
- Readme: README.markdown
- Contributing: CONTRIBUTING.markdown
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 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 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, `` and ``, 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](https://github.com/tpope/vim-unimpaired).
Enhances [surround.vim](https://github.com/tpope/vim-surround).
## Self-Promotion
Like ragtag.vim? Follow the repository on
[GitHub](https://github.com/tpope/vim-ragtag) and vote for it on
[vim.org](http://www.vim.org/scripts/script.php?script_id=1896). And if
you're feeling especially charitable, follow [tpope](http://tpo.pe/) on
[Twitter](http://twitter.com/tpope) and
[GitHub](https://github.com/tpope).## License
Copyright (c) Tim Pope. Distributed under the same terms as Vim itself.
See `:help license`.