An open API service indexing awesome lists of open source software.

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

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' },
\ ]