Sublime Forum

Shortcut for cloning a file?

#1

Is there one?

I’d like to have one to clone and move to group 2. Tried this without success:

{ “keys”: “ctrl+shift+c”], “command”: “move_to_group”, “args”: { “group”: 1 } },
{ “keys”: “ctrl+shift+c”], “command”: “clone”, “args”: { } }

I added that into the User\Default.sublime-keymap

0 Likes

#2

clone_file is what you’re looking for.

{ "keys": "ctrl+shift+c"], "command": "clone_file", "args": { } }

I found it via dragging the whole “Sublime Text 2” Directory in and made a “Find in files”. Nice for exploring these kind of things.

0 Likes