https://github.com/heavenshell/unite-flask
A unite.vim plugin for Flask
https://github.com/heavenshell/unite-flask
Last synced: 3 months ago
JSON representation
A unite.vim plugin for Flask
- Host: GitHub
- URL: https://github.com/heavenshell/unite-flask
- Owner: heavenshell
- Created: 2012-02-11T08:07:57.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T14:41:12.000Z (almost 11 years ago)
- Last Synced: 2026-03-06T05:01:00.008Z (4 months ago)
- Language: VimL
- Homepage:
- Size: 133 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
unite-flask
===========
A unite.vm plugin for Flask.
inspired by basyura's unite-rails and oppara's unite-cake
`unite-rails `_
`vim-unite-cake `_
Example
-------
.. code::
nnoremap [unite]a :Unite -buffer-name=files flask/
nnoremap [unite]v :Unite -buffer-name=files flask/views
nnoremap [unite]vt :Unite -buffer-name=files flask/templates
nnoremap [unite]vm :Unite -buffer-name=files flask/models
Default directory
-----------------
Show default directory structure below.
.. code::
yourproject/configs
yourproject/i18n
yourproject/extensions
yourproject/templates
yourproject/utils
yourproject/forms
yourproject/models
yourproject/static
yourproject/tests
yourproject/views
If you want define your own project, use ``g:unite_source_flask``.
.. code::
let g:unite_source_flask = [
\ {'name': '' , 'path': '' },
\ {'name': 'templates', 'path': '/templates'},
\ {'name': 'forms' , 'path': '/forms' },
\ {'name': 'models' , 'path': '/models' },
\ {'name': 'static' , 'path': '/static' },
\ {'name': 'tests' , 'path': '/tests' },
\ {'name': 'views' , 'path': '/views' },
\ ]