Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 962 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 962 Bytes

Create backup copy

Overview

This is a simple Sublime Text 3 package that adds a hotkey and command to create a time-stamped copy of the current file.

Backups follow the simple format <basename>_YYYY-MM-DD_HHMMSS.<extension> and are saved in a hidden .sublime-backup subdirectory next to the original. Note: The directory won't be hidden on Windows.

Usage

The hotkey defaults to Alt + Shift + B. Use the create_backup_copy command in your key bindings to customize it, e.g.:

[
    { 
      "keys": ["alt+shift+b"], "command": "create_backup_copy"
    }
]

In addition to the hotkey, you can access the plugin via the command palette (command: Create backup copy of file).

License

This plugin is licensed under the GNU GPLv3. A copy of the license is included in the LICENSE file that accompanies this README.

Copyright 2014 Glutanimate.