https://github.com/guerrerocarlos/openobject-vim
OpenERP (OpenObject) VIM snippets based on snipMate
https://github.com/guerrerocarlos/openobject-vim
Last synced: 3 months ago
JSON representation
OpenERP (OpenObject) VIM snippets based on snipMate
- Host: GitHub
- URL: https://github.com/guerrerocarlos/openobject-vim
- Owner: guerrerocarlos
- Created: 2012-03-18T05:11:59.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-18T05:41:00.000Z (about 13 years ago)
- Last Synced: 2025-01-07T18:32:49.176Z (5 months ago)
- Homepage:
- Size: 91.8 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
OpenERP(OpenObject) snippets
============================HOW TO INSTALL:
--------------1. Download [snipMate][1] plugin for VIM and install it
2. Clone this project inside of ~/.vim/snippets/
and rename it "python" so that you end up with something
like: ~/.vim/snippets/python
3. Remember to add ":filetype plugin on" to your ~/.vimrc fileThat's all, now you have all these snippets:
* _openerp_py.snippet
* class.snippet
* date.snippet
* float.snippet
* base.snippet
* class_inh.snippet
* datetime.snippet
* license_openerp.snippet
* char.snippet
* class_osv.snippet
* enc.snippet
* m2o.snippetHOW TO USE:
-----------
For example, open a new .py file and write
class_osv Press-TABYou will get a new osv class ready to be filled, press TAB again to jump
to the next field that needs to be filled.[1]: http://vim.sourceforge.net/scripts/script.php?script_id=2540