docker-odoo-image
docker-odoo-image copied to clipboard
[ADD] add xml pretty print to VIM
In order to have a XML pretty print we need to install a library and edit the vimrc
- Install xmllint (en ubuntu se encuentra dentro de libxml2-utils)
- Add this line to ~/.vimrc
:map <F5> : silent %!xmllint --encode UTF-8 --format - :bnext <CR>
With this we mapped the key F5 as default key for this action. Remember that this action edit the current document.