sponsor Vim development Vim logo Vim Book Ad

vim-django-i18n : transform text to django i18n format

 script karma  Rating 0/0, Downloaded by 131    Comments, bugs, improvements  Vim wiki

created by
zack shen
 
script type
ftplugin
 
description
Readme
==========
transform text to django's i18n format


Install
==========

vundle
--
Bundle 'zackshen/vim-django-i18n'


Key mapping
=========
select a word under visual mode

viw

press `<leader>t` , the selected text will be wrapped with diffent code

filetype
----

python

_('blabla….')
html

{% trans 'blabla…' %}

javascript

gettext('blabla…')

html in javascript

'+ gettext('blabla…') +'

 
install details
vundle: Bundle 'zackshen/vim-django-i18n'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-django-i18n-master.zip 1.0 2013-09-13 7.0 zack shen Initial upload
ip used for rating: 50.19.148.56

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.
   
SourceForge.net Logo