Skip to content

Automatically save files after every keystroke in Sublime Text.

License

Notifications You must be signed in to change notification settings

jisaacks/auto-save

 
 

Repository files navigation

AutoSave

A Sublime Text plugin that automatically saves the current file after every keystroke.

Synopsis

In the occasion where you'd want Sublime Text to save the current file after each keystroke, you can use this plugin. It was created because I wanted to make a screencast that shows live editing of HTML/CSS along side by side with the changes in the browser. It's easy to use Javascript to reload the browers every second, but I did not want to manually save the file after every keystroke.

Demo

Here is a screencast of me editing HTML and CSS with the plugin.

Installation

From Package Control

AutoSave is available through Sublime Package Control and is the recommended way to install.

From Github

Alternatively, you may install via GitHub by cloning this repository into the Packages directory under Sublime Text's data directory:

On Mac:

cd ~/Library/Application Support/Sublime Text 3/Packages
git clone https://github.com/jamesfzhang/auto-save.git

Usage

By default, AutoSave is disabled because it is a fairly invasive plugin. To enable it, you must do the first bind the command to turn the plugin on or off. Open "Preferences / Key Bindings - User" and add:

{ "keys": ["ctrl+shift+s"], "command": "auto_save" }

With this setting, pressing Ctrl + Shift + S will turn the plugin on or off. A status message will be displayed in the Sublime Status Bar each time the plugin is turned on or off.

License

MIT-License.

Author

AutoSave was created and maintained by James Zhang. Give him a shoutout at @jamesfzhang if you have comments or questions.

About

Automatically save files after every keystroke in Sublime Text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%