ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

File History

Provides access to the history of recently accessed files - project-wise or globally

Details

Installs

  • Total 8K
  • Win 4K
  • OS X 2K
  • Linux 2K
May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17
Windows 1 1 3 8 2 2 8 9 3 2 9 7 12 9 1 4 4 9 6 11 8 3 3 8 11 8 11 8 6 1 5 6 7 6 6 4 2 4 6 9 4 4 2 10 6 11
OS X 0 2 2 4 5 3 4 0 2 4 2 3 2 3 1 3 6 4 3 3 4 0 1 6 5 7 5 3 1 0 7 6 2 3 2 1 1 5 3 2 2 2 0 0 6 1
Linux 0 0 3 1 6 4 5 2 1 3 2 1 3 2 1 4 2 3 6 2 2 0 1 1 2 2 5 3 1 0 2 2 3 3 1 3 0 2 1 1 1 6 0 1 1 3

Readme

Source
raw.​githubusercontent.​com

SublimeText - File History

Sublime Text 2 and 3 plugin to provide access to the history of recently used files - project-wise or globally.

The most recently closed file can be instantly re-opened or the entire file history can be shown and filtered in a quick panel (including file preview and the ability to open multiple files).

Preview Image

Features

  • Reopen the most recently closed file or open a quick panel of recently used files to choose from
  • Display a preview of the file while browsing the quick panel (only Sublime Text 3)
  • Open multiple history entries from the quick panel with the Right key
  • Delete history entries from the quick panel with Ctrl + Del
  • Optionally remove any non-existent files while looking through the file history (when previewed or opened) or on start-up
  • Creates backups in case you lose your history
  • Highly configurable through FileHistory.sublime-settings file, like excluding files with regex patterns

Installation

  1. Install Package Control.
  2. Once installed, bring up the Command Palette (Command-Shift-P on OS X, Ctrl-Shift-P on Linux/Windows).
  3. Select Package Control: Install Package and then select File History when the list appears.

Package Control will automagically keep the plugin up to date.

Usage

To use the plugin, open the Command Palette and search for File History:.

When you opened a panel you can use the Right key to open the file and keep the panel open, or Ctrl/Cmd + Del to remove the selected file from the history.

For default keymap definitions, see Default (Windows).sublime-keymap (OSX).

For the available and default settings, see FileHistory.sublime-settings.

Project Settings

You can extend the path_exclude_patterns and path_reinclude_patterns lists in your project settings.

For this, add a "file_history" dictionary to your project's settings and then one or both of the settings to that. Example:

{
    "folders": [
        {
            "path": "."
        }
    ],
    "settings": {
        "file_history": {
            "path_exclude_patterns": ["/bin/"],
            "path_reinclude_patterns": ["\\.compiled$"]
        }
    }
}

Commands

open_recently_closed_file (Window)

Opens a popup with recently closed files or reopens the lastly closed view if action == "open_latest_closed".

Parameters

  • action (str) - Default: "show_history", Allowed values: "show_history", "open_latest_closed"

  • current_project_only (bool) - Default: True

cleanup_file_history (Window)

Checks the current project or the whole history for non-existent files and removes them from the history.

Parameters

  • current_project_only (bool) - Default: True

reset_file_history (Window)

Removes all history data.