force-vim/README.md

35 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2014-07-09 18:51:41 +00:00
force-vim
=========
2014-07-09 18:51:41 +00:00
Plugin for "compiling" Salesforce.com code with [force cli](http://github.com/heroku/force)
Integrates with [vim-dispatch](https://github.com/tpope/vim-dispatch) and [vim-airline](https://github.com/bling/vim-airline)
2014-07-09 18:51:41 +00:00
Installation
------------
* Install the [force cli](http://github.com/heroku/force)
* Use Vundle or something similar to install this plugin
Configuration
-------------
* `let g:force_dispatch_background = 0`: Set to 1 to use vim-dispatch to background any commands
* `let g:force_disable_airline = 0`: Set to 1 to disable integration with vim-airline
2014-07-09 18:51:41 +00:00
Usage
-----
* `ForceDeploy`: executes `force push` to deploy file to server
* `ForceTest`: executes `force test` to run tests in current class
* `ForceActive`: Displays currently active target
* `ForceActive ?`: List all orgs
* `ForceActive orgName`: Activate specified org
* `ForceLogin`: Re-login to current org
* `ForceLogin url`: Login to provided url
Experimental:
* `ForceNewExecAnon`: Start new scratch window for executing anonymous code
* `ForceExecScratchAnon`: Execute contents of buffer
2014-07-09 18:51:41 +00:00
Based on plugin [vim-abuse-the-force](http://github.com/ViViDboarder/vim-abuse-the-force)