Git Product home page Git Product logo

auto-save's Introduction

auto-save

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

Synopsis

In the occasion where you'd want Sublime Text to save the current file after each change, you can use this plugin.

Demo

Image

Installation

From Package Control

auto-save 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, auto-save is disabled because it is a fairly invasive plugin. To enable it, you must 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" }

This key bindings file takes an array of key bindings so please ensure that this key binding, along with any existing ones, are properly wrapped in [].

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.

By default, auto-save debounces "save" events by 1 second. For fast typers, this improves performance dramatically such that "save" events are not called constantly, just when it matters.

License

MIT-License.

Author

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

auto-save's People

Contributors

jisaacks avatar mateuszjarzewski avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.