" Dependencies:
"
" textobj-user by Kana Natsuno
" http://www.vim.org/scripts/script.php?script_id=2100 "
"
" Overview:
" This plugin adds some textobjects to the htmldjango filetype
"
" idb/adb - in/around a django {% block %}
" idf/adf - in around a django {% for %} loop
" idi/adi - in/around a django {% if* } tag
" idw/adw - in around a django {% with %} tag
" idc/adc - in around a django {% comment %} tag
" idC/adC - in around a django {% cache %} tag
" ids/ads - in around a django {% spaceless %} tag
"
" so Use as you would other text objects in visual selection, cutting and
" dealleting etc.
"
" Installation:
"
" Pathogen/Vundle (recommended):
"
" git clone https://github.com/kana/vim-textobj-user.git ~/.vim/bundle/vim-textobj-user
" git clone git://github.com/mjbrownie/django-template-textobjects.git ~/.vim/bundle/django_template_textobjects
"
" Manual:
"
" Please ensure you have the above plugins installed as instructed
" This file should be in your after/ftplugin for htmldjango
"
" ~/.vim/after/ftplugin/htmldjango/template_textobjects.vim
"
"
install details
" Please ensure you have the above plugins installed as instructed
" This file should be in your after/ftplugin for django_template
"
" ~/.vim/after/ftplugin/htmldjango/template_textobjects.vim
Added general closed tag and variable matching idv/adv and idt/adt
eg. dadt will delete-around-django-tag {% url foo as bar %}
Added idT/adT for {% blocktrans %}
If you have questions or remarks about this site, visit the
vimonline development pages.
Please use this site responsibly.
Questions about Vim should go
to the maillist.
Help Bram help Uganda.