sponsor Vim development Vim logo Vim Book Ad

TFS : Use TFS version control from within VIM

 script karma  Rating 23/8, Downloaded by 517    Comments, bugs, improvements  Vim wiki

created by
Ben Staniford
 
script type
utility
 
description
INTRODUCTION                                    

This plugin is a tool which allows TFS version control integration while
editing files with VIM.  It supports TFS with Visual Studio 2005,2008 &
2010.  It's comparatively full featured and allows:

  * Add/Check-in/Checkout/Revert/Get Latest
  * Getting specific versions of the current file
  * Diffing the current file against the latest version
  * Checking which files have been modified
  * Looking at the history of the current file
  * Diffing the current file against a particular changeset
  * Diffing the current file against the latest version
  * Creating shelve sets

MAPPINGS                

In addition to the GVIM menu, the following mappings are provided by
default.

  Mapping  Command        Purpose ~
  \ta      TfAdd          Add current file to TFS
  \to      TfCheckout     Check out current file from TFS
  \ti      TfCheckin      Check current file into TFS with comment
  \tc      TfCheckinAll   Check in multiple files to
  \tl      TfGetLatest    Get the latest version of current file
  \tr      TfRevert       Revert local changes to current file
  \th      TfHistory      Get the history of the local file
  \tv      TfViewVer      Preview a specific version of the file
  \td      TfDiffVer      Diff current file against specific version
  \tt      TfDiffLatest   Diff recent changes against latest
  \ts      TfStatus       Show all files which have been modified
  \te      TfShelve       Create a shelve set
  \tu      TfUnshelve     Unshelve a shelve set

OTHER COMMANDS            

  Command                 Purpose ~
  Tf "command line"       Run a raw tf command
  TfHelp                  Help for the tf command
  TfPt "command line"     Run a raw tfpt command
  TfPtHelp                Help for the tfpt command
  TfAnnotate              Examine annotated view of current file
  TfReview                Review changes made to workspace
  TfHistoryDetailed       See detailed branch history for current file
 
install details
Unzip the archive into your ~/_vim directory.
That should put tfs.vim in ~/_vim/plugin and tfs.txt in ~/_vim/doc.

Run :helptags ~/_vim/doc

Go :help tfs for the help page.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
tfs.zip 1.1.3 2013-05-05 7.3 Ben Staniford Added support for TFS 2012, Removed ^ escaping since this is no longer required and breaks in later patch levels Vim 7.3.  (If you need to use an older version of Vim please use TFS.vim v 1.1.2)
tfs.zip 1.1.2 2011-11-17 7.0 Ben Staniford Added TfUnshelve and made popup windows automatically use as little screen estate as poss.
tfs.zip 1.1.1 2011-11-17 7.0 Ben Staniford Fixed quoting of parameters to include ^" style quoting supporting TFS workspaces with spaces in paths.
tfs.zip 1.1 2011-11-17 7.0 Ben Staniford Added TfReview, TfCheckinAll, TfShelve to checkin multiple files, and create shelve sets.  Also fixed several bugs.
tfs.zip 1.0.1 2011-11-16 7.0 Ben Staniford Fixed small typo bug with Tf and TfPt commands
tfs.zip 1.0 2011-11-16 7.0 Ben Staniford Initial upload
ip used for rating: 54.242.241.20

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo