https://github.com/davydovanton/vim-html2slim
Vim plugin for convert HTML(erb) to Slim
https://github.com/davydovanton/vim-html2slim
Last synced: 3 months ago
JSON representation
Vim plugin for convert HTML(erb) to Slim
- Host: GitHub
- URL: https://github.com/davydovanton/vim-html2slim
- Owner: davydovanton
- License: mit
- Created: 2014-04-30T22:05:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-18T11:04:46.000Z (about 9 years ago)
- Last Synced: 2025-02-02T03:42:15.519Z (5 months ago)
- Language: VimL
- Size: 1.76 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-HTML2Slim
Vim plugin for convert HTML(erb) to Slim.

##Warning!
This plugin use [`html2slim`](https://github.com/slim-template/html2slim) gem.##Installation
First - install `html2slim` gem:
`gem install html2slim`- [Pathogen](https://github.com/tpope/vim-pathogen)
- `git clone https://github.com/davydovanton/vim-html2slim.git ~/.vim/bundle/vim-html2slim`
- [Vundle](https://github.com/gmarik/vundle)
1. Add `Bundle 'davydovanton/vim-html2slim'` to .vimrc
2. Run `:BundleInstall`
- [NeoBundle](https://github.com/Shougo/neobundle.vim)
1. Add `NeoBundle 'davydovanton/vim-html2slim'` to .vimrc
2. Run `:NeoBundleInstall`
- [vim-plug](https://github.com/junegunn/vim-plug)
1. Add `Plug 'davydovanton/vim-html2slim'` to .vimrc
2. Run `:PlugInstall`##Usage

Select your HTML or Erb code and call `:HTML2slim`
## Contributing
If you'd like to help improve plugin, clone the project with Git by running:
$ git clone git://github.com/davydovanton/vim-html2slim
Work your magic and then submit a pull request. We love pull requests!
If you find the documentation lacking, help us out and update this README.md. If you don't have the time to work on Slim and use this plugin, but found something we should know about, please submit an issue.
## License
Copyright (c) Anton Davydov. Distributed under the same terms as Vim itself.