Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.18 KB

force-vim

Plugin for "compiling" Salesforce.com code with force cli

Integrates with vim-dispatch and vim-airline

Installation

  • Install the force cli
  • 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

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

Based on plugin vim-abuse-the-force