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

Clone​File

by shagabutdinov ALL

Duplicate view and clone file in list

Details

Installs

  • Total 2K
  • Win 869
  • Mac 465
  • Linux 264
Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
01234Sep 6Sep 3Aug 31Aug 28Aug 25Aug 22Aug 19Aug 16Aug 13Aug 10Aug 7Aug 4Aug 1Jul 29Jul 26Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 0 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 0 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 0 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 0 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 0 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 0 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 1Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 1Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 1Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 0 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 0 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 0 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 0 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 0 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 0 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 1Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 1Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 1Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 0 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 0 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 0 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 0 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 0 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 0 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 1Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 1Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 1Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

Sublime CloneFile plugin

Provides “duplicate view” and “clone file/folder in list” functionality.

Demo

WARNING

It use python “shutil” to clone folders and files so meta-information (e.g. permissions) of files and folder can be lost after copying.

When you are cloning file in list you should hit “tab” (but not “enter”) after entering a new file name. See “Usage” section below for undestanding usecase.

Installation

This plugin is part of sublime-enhanced plugin set. You can install sublime-enhanced and this plugin will be installed automatically.

If you would like to install this package separately check “Installing packages separately” section of sublime-enhanced package.

Usage

Hit keyboard shortcut or run command to clone current view into the new view. It will create new view, copy contents of old view to new one, and set cursors into the new view according to cursors in old one.

If you are browsing file through “FileList” plugin you can copy file here with keyboard shortcut. You need to hit keyboard shortcut for “Clone file in list” (see below) than navigate to preferred folder, type name of file and hit keyboard shortcut for “Complete cloning file in list” (“tab” by default). Note that it'll use “tab” for cloning completion but not “enter” (sublime does not allow “enter” remap in quick search panel). “Enter” will open selecter folder or file.

Commands

Title Keyboard shortcuts Command palette
Clone view ctrl+alt+shift+d CloneFile: Clone
Clone file in list ctrl+alt+c
Complete cloning file in list tab

Dependencies