A Sublime Text package for maintaining a local history of files.
Local History: ...
commands from the command palette.Local History
helps you out when you change or delete a file by accident.Local History
can help you out when your workspace has a catastrophic problem or if you get disk errors that corrupt your workspace files.Package Control: Install Package
Local History
and select to install.git clone git://github.com/vishr/local-history.git "Local History"
into your Sublime Text Packages directory.
https://github.com/vishr/local-history.git
[email protected]:vishr/local-history.git
Local History
subdirectory. Rename Local History.zip
to Local History.sublime-package
and move it to your Installed Packages
subdirectory of your Sublime Text installation. On Linux this is ~/.config/sublime-text-2/
or ~/.config/sublime-text-3/
. "history_retention": 0, // number of days to keep files, 0 to disable deletion
"format_timestamp": "%Y%m%d%H%M%S", // file_name-XXXXXXXX.file_extension
"history_on_close": true, // only save LocalHistory after closing a file, not when original was saved
"history_on_focus_lost": false,
"history_on_load": true,
// "history_path": "",
"portable": true,
"file_size_limit": 4194304 // 4 MB
Local History's target directory for file revisions can be set as follows:
"portable": true
, Local History will save to Sublime Text/Data/.sublime/Local History/...
wherever Sublime Text is installed."portable": false
will change the target folder to the ~/.sublime/Local History/...
subfolder of your user directory.
"portable": false
changing "history_path": "..."
will give you the option to change the target directory to a custom path.Local History: ...
commands from the command palette.Tools > Local History > Delete Local History > Permanently delete all