Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Sublime Text 2 plugin for maintaining local history of files. [backup, open, compare, replace, incremental diff]
branch: master

This branch is 72 commits behind vishr:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Context.sublime-menu
Default.sublime-commands
Main.sublime-menu
README.md
history.py

README.md

Local History

A Sublime Text 2 plugin for maintaining local history of files

Benefits

  • Every time you modify a file, a copy of the old contents is kept in the local history.
  • At any time, you can compare or replace a file with any older version from the history.
  • View incremental diff of any file from the history.
  • It can help you out when you change or delete a file by accident.
  • The history can also help you out when your workspace has a catastrophic problem or if you get disk errors that corrupt your workspace files.
  • Each file revision is stored in a separate file inside the .sublime/history folder of your home directory. e.g., /Users/vrana/.sublime/history/foo/bar/hello.23.2012.10.10.34.history.py

Installation

With the Package Control plugin: The easiest way to install this plugin is through Package Control

Without Git: Download the latest source zip from github and extract the files to your Sublime Text "Packages" directory, into a new directory named Local History.

With Git: Clone the repository in your Sublime Text "Packages" directory:

git clone git@github.com:vishr/local-history.git "Local History"

The "Packages" directory location:

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages/
  • Linux: ~/.Sublime Text 2/Packages/
  • Windows: %APPDATA%/Sublime Text 2/Packages/

Usage

Open / Compare / Replace / Incremental Diff

Open / Compare / Replace / Incremental Diff

Delete All

Caveats

  • As this plugin is continuously evolving, please delete the history and reinstall the plugin incase you face any problems.
Something went wrong with that request. Please try again.