
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
local-history
Advanced tools
Maintaining local history of files (history of your changes to the code files).
Atom package for maintaining local history of files (history of your changes to the code files).
For maintaining a history of the files revisions like mostly code editors:
Especially, I need an automated backup of my work to save me from stupid accidents... :fist:
.atom/local-history directory of your home directory.
e.g: /home/nicolas/.atom/local-history/var/www/my-great-project/lib/2014-06-21_17.05.43.utils.jsapm install local-history
Or Settings ➔ Packages ➔ Search for local-history
Show the history of the current file:


Then, select the revision to open in another tab

local-history:current-file show local history of current file.local-history:difftool-current-file Open the current file and a given revision file with your defined diff tool (see difftoolCommand).local-history:purge purge the expired revisions (see daysLimit).File size limit, by default: 262144 (256 KB). The files heavier than the defined size will not be saved.
Days retention limit, by default: 30 days. The oldest files are deleted when purging (local-history:purge).
A custom command to open your favorite diff tool, by default: meld.
Example:
meld "{current-file}" "{revision-file}"
{current-file} is the placeholder replaced automatically by the path of the current file.{revision-file} is the placeholder replaced automatically by the path of the revision file selected.The actual command generated will be something like this:
meld "/var/www/my-project/my-current-file.js" "/home/nicolas/.atom/local-history/var/www/my-project/2014-07-08_19.32.00.my-current-file.js"
Contributions are welcome.
| Nicolas Talle |
![]() |
FAQs
Maintaining local history of files (history of your changes to the code files).
We found that local-history demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.