Sublime Forum

Clone to other view

#1

Notepad++ has a very nice feature of cloning a file:
view => Move/Clone current document => Clone to other view

As it is seen here.

Does sublime text have something similar? I know there is “view => Layout/Focus group/Move file to group”. But that is going three times to view and a lot of clicking. I hope I am clear enough.

Or even better, is there a shortcut that I can press and I can scroll in clone file and switching back and forth in files? Thank you

0 Likes

#2

You’re message is not really clear. Here’s what I think you want

Just have a look in the menu the shortcuts, and otherwise, create it! (if you don’t know how, I’ll be happy to explain it to you!)

1 Like

#3

Sorry for not being clear. I am using sublime 2, because I do not like beta version and I like portable version, which is not available in 3 and I am using Linux.
Anyhow, yes, what you are so nicely showing, I would like to do it with key shortcuts and I would like to have a clone horizontally. Thanks

0 Likes

#4

A note: in notepad++, I can do it with two clicks or one shortcut :slight_smile:

0 Likes

#5

You might want to look into Origami; it has a metric ton of functionality in this area. You can easily clone the current view, clone it to a view in another group (creating the group), etc. It may provide the functionality that you’re interested in.

I’ve never used it with ST2, but the PackageControl page says that it supports ST2.

It’s not documented, but if you extract the ST3 tarball and create a Data directory inside of it (in the same place that the windows portable version already includes it), when you run Sublime from that directory it will use that data directory instead of the one in ~/.config/sublime-text-3. I use that to have a separate sandbox for testing things out in.

0 Likes

#6

Great, thanks for the suggestion!

0 Likes

#7

I still hope I could manage panes without additional software like origami, it is possible.

0 Likes

#8

Origami just provides shortcuts for what @math2001 showed in his first post. You can of course also do it manually.

Also, you’re missing out on half the fun when you’re not using packages.

3 Likes

#9

In this Origami manual, “command+k” is mentioned. Can you please tell me what the “command” stands for?

0 Likes

#10

https://duckduckgo.com/?q=command+key

(Note: Windows and Linux use ctrl instead of command.)

0 Likes